]> git.pld-linux.org Git - packages/php.git/blobdiff - php.spec
- hack installed acinclude.m4
[packages/php.git] / 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.038941 seconds and 4 git commands to generate.