SPECS: php.spec - hack installed acinclude.m4 - remove evil rpaths...

glen glen at pld-linux.org
Thu Apr 20 22:54:13 CEST 2006


Author: glen                         Date: Thu Apr 20 20:54:13 2006 GMT
Module: SPECS                         Tag: HEAD
---- Log message:
- hack installed acinclude.m4
- remove evil rpaths from installed libphp_common.la

---- Files affected:
SPECS:
   php.spec (1.570 -> 1.571) 

---- Diffs:

================================================================
Index: SPECS/php.spec
diff -u SPECS/php.spec:1.570 SPECS/php.spec:1.571
--- SPECS/php.spec:1.570	Thu Apr 20 21:48:23 2006
+++ SPECS/php.spec	Thu Apr 20 22:54:08 2006
@@ -73,7 +73,7 @@
 %undefine	with_msession
 %endif
 
-%define	_rel 9.11
+%define	_rel 9.14
 Summary:	PHP: Hypertext Preprocessor
 Summary(fr):	Le langage de script embarque-HTML PHP
 Summary(pl):	Język skryptowy PHP
@@ -1839,6 +1839,10 @@
 %endif
 
 libtool --silent --mode=install install libphp_common.la $RPM_BUILD_ROOT%{_libdir}
+# fix install paths, avoid evil rpaths
+sed -i -e "s|^libdir=.*|libdir='%{_libdir}'|" $RPM_BUILD_ROOT%{_libdir}/libphp_common.la
+# better solution?
+sed -i -e 's|libphp_common.la|$(libdir)/libphp_common.la|' $RPM_BUILD_ROOT%{_libdir}/php/build/acinclude.m4
 
 # install CGI
 libtool --silent --mode=install install sapi/cgi/php $RPM_BUILD_ROOT%{_bindir}/php.cgi
@@ -3046,6 +3050,10 @@
 All persons listed below can be reached at <cvs_login>@pld-linux.org
 
 $Log$
+Revision 1.571  2006/04/20 20:54:08  glen
+- hack installed acinclude.m4
+- remove evil rpaths from installed libphp_common.la
+
 Revision 1.570  2006/04/20 19:48:23  glen
 - don't mungle build files
 
================================================================

---- CVS-web:
    http://cvs.pld-linux.org/SPECS/php.spec?r1=1.570&r2=1.571&f=u



More information about the pld-cvs-commit mailing list