packages: ippool/ippool.spec - x86_64 fixes: compile with -fPIC and use pro...

jajcus jajcus at pld-linux.org
Sat Nov 26 15:00:13 CET 2011


Author: jajcus                       Date: Sat Nov 26 14:00:13 2011 GMT
Module: packages                      Tag: HEAD
---- Log message:
- x86_64 fixes: compile with -fPIC and use proper %{_libdir}

---- Files affected:
packages/ippool:
   ippool.spec (1.1 -> 1.2) 

---- Diffs:

================================================================
Index: packages/ippool/ippool.spec
diff -u packages/ippool/ippool.spec:1.1 packages/ippool/ippool.spec:1.2
--- packages/ippool/ippool.spec:1.1	Sat Nov 26 14:56:10 2011
+++ packages/ippool/ippool.spec	Sat Nov 26 15:00:08 2011
@@ -37,7 +37,8 @@
 
 %build
 %{__make} -j1 \
-	CFLAGS.optimize="%{rpmcflags}"
+	SYS_LIBDIR="%{_libdir}" \
+	CFLAGS.optimize="%{rpmcflags} -fPIC"
 
 %install
 rm -rf $RPM_BUILD_ROOT
@@ -45,6 +46,7 @@
 
 %{__make} -j1 install \
 	DESTDIR=$RPM_BUILD_ROOT \
+	SYS_LIBDIR="%{_libdir}" \
 	PPPD_LIBDIR=%{_libdir}/pppd/plugins
 
 install %{SOURCE1} $RPM_BUILD_ROOT/etc/rc.d/init.d/ippoold
@@ -78,6 +80,9 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.2  2011/11/26 14:00:08  jajcus
+- x86_64 fixes: compile with -fPIC and use proper %{_libdir}
+
 Revision 1.1  2011/11/26 13:56:10  jajcus
 - new package
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/cgi-bin/cvsweb.cgi/packages/ippool/ippool.spec?r1=1.1&r2=1.2&f=u



More information about the pld-cvs-commit mailing list