forked from pool/xapian-bindings
- Create a new php7-xapian package in Tumbleweed instead of using php5 which will be removed soon. - Add fix-php7-directory.patch to install xapian.php to the right directory. - Disable creation of php bindings by default due to https://trac.xapian.org/wiki/FAQ/PHP%20Bindings%20Package - To build the php bindings locally, use : * osc build --with=php or download the src.rpm file and use: * rpmbuild --rebuild xapian-bindings-1.4.4-0.src.rpm -D "with_php 1" OBS-URL: https://build.opensuse.org/request/show/523607 OBS-URL: https://build.opensuse.org/package/show/server:search/xapian-bindings?expand=0&rev=70
14 lines
583 B
Diff
14 lines
583 B
Diff
Index: xapian-bindings-1.4.4/php7/Makefile.am
|
|
===================================================================
|
|
--- xapian-bindings-1.4.4.orig/php7/Makefile.am
|
|
+++ xapian-bindings-1.4.4/php7/Makefile.am
|
|
@@ -39,7 +39,7 @@ phpext_LTLIBRARIES = xapian.la
|
|
# This location is correct for Debian, but in general there doesn't seem
|
|
# to be a suitable location which is guaranteed to be in the include_path
|
|
# by default.
|
|
-phpincdir = $(datadir)/php
|
|
+phpincdir = $(datadir)/php7
|
|
phpinc_DATA = php7/xapian.php
|
|
|
|
# Remove the .la file - xapian.la is never linked against (it's a module)
|