[packages/php/PHP_5_6] fix building without apache support
jajcus
jajcus at pld-linux.org
Thu Sep 29 09:11:31 CEST 2016
commit 140f4c8cece1ffd221aeb0497dc5b43abe943e4a
Author: Jacek Konieczny <j.konieczny at eggsoft.pl>
Date: Thu Sep 29 09:11:17 2016 +0200
fix building without apache support
php.spec | 6 ++++++
1 file changed, 6 insertions(+)
---
diff --git a/php.spec b/php.spec
index 8671a80..5f8bb3a 100644
--- a/php.spec
+++ b/php.spec
@@ -3065,7 +3065,9 @@ fi
%dir %{_sysconfdir}
%dir %{_sysconfdir}/conf.d
%config(noreplace) %verify(not md5 mtime size) %{_sysconfdir}/php.ini
+%if %{with apache1} || %{with apache2}
%attr(755,root,root) %{_libdir}/libphp_common-*.so
+%endif
%dir %{php_extensiondir}
%doc ext/session/mod_files.sh
@@ -3075,7 +3077,11 @@ fi
%doc CODING_STANDARDS README.{EXT_SKEL,PARAMETER_PARSING_API,SELF-CONTAINED-EXTENSIONS,STREAMS,SUBMITTING_PATCH,TESTING,TESTING2,UNIX-BUILD-SYSTEM,input_filter}
%attr(755,root,root) %{_bindir}/phpize
%attr(755,root,root) %{_bindir}/php-config
+%if %{with apache1} || %{with apache2}
%attr(755,root,root) %{_libdir}/libphp_common.so
+%else
+%attr(755,root,root) %{_libdir}/libphp_common.a
+%endif
%{_libdir}/libphp_common.la
%{_includedir}/php
%{_libdir}/%{name}/build
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/php.git/commitdiff/140f4c8cece1ffd221aeb0497dc5b43abe943e4a
More information about the pld-cvs-commit
mailing list