- pass optflags to make, switched to wxGTK2
authorJakub Bogusz <qboosh@pld-linux.org>
Thu, 14 Aug 2003 08:48:19 +0000 (08:48 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    LinWSJT.spec -> 1.4

LinWSJT.spec

index 7a4e7da..86ffb21 100644 (file)
@@ -9,7 +9,7 @@ Source0:        http://www.qsl.net/g4klx/%{name}-%{version}.tar.gz
 # Source0-md5: dd9cf86f4bd260eea759abde8c2ae28c
 Patch0:                %{name}-Makefile.patch
 URL:           http://aldo.sourceforge.net/
-BuildRequires: wxGTK-devel
+BuildRequires: wxGTK2-devel
 BuildRoot:     %{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
 %description
@@ -33,7 +33,10 @@ ksi
 
 %build
 %{__make} \
-       CC="%{__cc}"
+       CC="%{__cxx}" \
+       CFLAGS="%{rpmcflags} -Wall -I.. `wxgtk2-2.4-config --cxxflags`" \
+       LDFLAGS="`wxgtk2-2.4-config --ldflags`" \
+       LIBS="-lfftw -lsndfile `wxgtk2-2.4-config --libs`"
 
 %install
 rm -rf $RPM_BUILD_ROOT
This page took 0.12818 seconds and 4 git commands to generate.