SPECS: ekg.spec - LDFLAGS patch - better way for building libgadu ...

sparky sparky at pld-linux.org
Thu Aug 3 03:45:53 CEST 2006


Author: sparky                       Date: Thu Aug  3 01:45:53 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- LDFLAGS patch
- better way for building libgadu with correct cflags

---- Files affected:
SPECS:
   ekg.spec (1.204 -> 1.205) 

---- Diffs:

================================================================
Index: SPECS/ekg.spec
diff -u SPECS/ekg.spec:1.204 SPECS/ekg.spec:1.205
--- SPECS/ekg.spec:1.204	Thu Jul 27 23:28:58 2006
+++ SPECS/ekg.spec	Thu Aug  3 03:45:47 2006
@@ -22,6 +22,7 @@
 # Source0-md5:	1094eee5062d9b9900c4b28bd68fb564
 Source1:	%{name}.conf
 Patch0:		%{name}-jpeg.patch
+Patch1:		%{name}-LDFLAGS.patch
 URL:		http://ekg.chmurka.net/
 BuildRequires:	%{_bindir}/perl
 %{?with_aspell:BuildRequires:	aspell-devel}
@@ -161,12 +162,14 @@
 %prep
 %setup -q
 %patch0 -p1
+%patch1 -p1
 
 %build
 %{__aclocal} -I m4
 %{__autoheader}
 %{__autoconf}
 %configure \
+	CFLAGS_LIBGADU="%{rpmcflags}" \
 	--enable-dynamic \
 	--enable-shared \
 	--enable-static \
@@ -181,8 +184,7 @@
 	%{?with_aspell:--enable-aspell} \
 	%{?with_ioctl_daemon:--enable-ioctld}
 
-%{__make} \
-	CC="%{__cc} %{rpmcflags} -Wall -I/usr/include/ncurses"
+%{__make}
 
 %if %{with ioctl_daemon}
 %{__make} -C src ioctld
@@ -254,6 +256,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.205  2006/08/03 01:45:47  sparky
+- LDFLAGS patch
+- better way for building libgadu with correct cflags
+
 Revision 1.204  2006/07/27 21:28:58  paszczus
 - switched to new URL
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/ekg.spec?r1=1.204&r2=1.205&f=u



More information about the pld-cvs-commit mailing list