]> git.pld-linux.org Git - packages/php.git/commitdiff
- hack installed acinclude.m4
authorElan Ruusamäe <glen@pld-linux.org>
Thu, 20 Apr 2006 20:54:08 +0000 (20:54 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
- remove evil rpaths from installed libphp_common.la

Changed files:
    php.spec -> 1.571

php.spec

index 46a14b872560e1214284667d2f43cd6d67a46e99..44db6223a02b030bb7f6d3089290d9724896f9c3 100644 (file)
--- a/php.spec
+++ b/php.spec
@@ -72,7 +72,7 @@ ERROR: You need to select at least one Apache SAPI to build shared modules.
 %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
@@ -1838,6 +1838,10 @@ libtool --silent --mode=install install sapi/apache2handler/libphp5.la $RPM_BUIL
 %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
This page took 0.045212 seconds and 4 git commands to generate.