]> git.pld-linux.org Git - packages/kicad.git/commitdiff
- more general if
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 27 Nov 2007 19:32:43 +0000 (19:32 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- reverted "lib64wx_gtk2u"

Changed files:
    kicad.spec -> 1.6

kicad.spec

index cd6ba0309005b1a107fe700bcaefb80dba0e0fac..82e36a99ab12b111d6a437ba88aafce152ce7ef3 100644 (file)
@@ -34,8 +34,8 @@ programów:
 
 %prep
 %setup -q -n %{name}
-%if "%{_lib}" == "lib64"
-       %{__sed} -i -e "s@/lib/@/lib64/@g" libs.linux
+%if "%{_lib}" != "lib"
+       %{__sed} -i -e "s@/lib/@/%{_lib}/@g" libs.linux
 %endif
 
 %build
@@ -43,11 +43,7 @@ export WX_CONFIG="`which wx-gtk2-unicode-config`"
 %{__make} -f makefile.gtk \
        WXXFLAGS="`$WX_CONFIG --cxxflags`" \
        WXPATH=%{_libdir} \
-%if "%{_lib}" == "lib64"
-       PREFIX_WX_LIBS="lib64`$WX_CONFIG --basename`" \
-%else
        PREFIX_WX_LIBS="lib`$WX_CONFIG --basename`" \
-%endif
        SUFFIX_WX_LIBSTD="`$WX_CONFIG --utility=`" \
        SUFFIX_WX_LIBGL="_gl-`$WX_CONFIG --release`" \
        LIBVERSION="`$WX_CONFIG --release`" \
This page took 0.227763 seconds and 4 git commands to generate.