Sat Sep 24 19:09:19 2022 UTC ()
Point to the upstream bug with notes about PHP 8 compatibility.


(schmonz)
diff -r1.3 -r1.4 pkgsrc/textproc/php-xapian/Makefile

cvs diff -r1.3 -r1.4 pkgsrc/textproc/php-xapian/Makefile (expand / switch to unified diff)

--- pkgsrc/textproc/php-xapian/Makefile 2021/12/19 10:09:29 1.3
+++ pkgsrc/textproc/php-xapian/Makefile 2022/09/24 19:09:19 1.4
@@ -1,19 +1,20 @@ @@ -1,19 +1,20 @@
1# $NetBSD: Makefile,v 1.3 2021/12/19 10:09:29 schmonz Exp $ 1# $NetBSD: Makefile,v 1.4 2022/09/24 19:09:19 schmonz Exp $
2 2
3PKGNAME= ${PHP_PKG_PREFIX}-${PKGNAME_MODULE} 3PKGNAME= ${PHP_PKG_PREFIX}-${PKGNAME_MODULE}
4COMMENT= PHP bindings for Xapian search engine 4COMMENT= PHP bindings for Xapian search engine
5HOMEPAGE= https://xapian.org/docs/bindings/php/ 5HOMEPAGE= https://xapian.org/docs/bindings/php/
6 6
 7# https://trac.xapian.org/ticket/817
7PHP_VERSIONS_INCOMPATIBLE= 80 81 8PHP_VERSIONS_INCOMPATIBLE= 80 81
8 9
9.include "../../lang/php/phpversion.mk" 10.include "../../lang/php/phpversion.mk"
10 11
11.if (${PKG_PHP_MAJOR_VERS} == 5) 12.if (${PKG_PHP_MAJOR_VERS} == 5)
12CONFIGURE_ARGS+= --with-php 13CONFIGURE_ARGS+= --with-php
13PHP_5_OR_EMPTY= 5 14PHP_5_OR_EMPTY= 5
14.else 15.else
15CONFIGURE_ARGS+= --with-php7 16CONFIGURE_ARGS+= --with-php7
16PHP_5_OR_EMPTY= # empty 17PHP_5_OR_EMPTY= # empty
17.endif 18.endif
18 19
19PLIST_SUBST+= PHP_5_OR_EMPTY=${PHP_5_OR_EMPTY:Q} 20PLIST_SUBST+= PHP_5_OR_EMPTY=${PHP_5_OR_EMPTY:Q}