Add flavors

- Mark IGNORE with PHP 8.0
This commit is contained in:
Sunpoet Po-Chuan Hsieh 2020-11-15 18:00:29 +00:00
parent 2161e1e1ed
commit 8ae6ec3fbe
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=555281

View File

@ -7,7 +7,7 @@ DISTVERSIONPREFIX= bindings-
CATEGORIES= databases
MASTER_SITES= https://oligarchy.co.uk/xapian/${PORTVERSION}/ \
LOCAL/sunpoet
PKGNAMEPREFIX= php-
PKGNAMEPREFIX= ${PHP_PKGNAMEPREFIX}
MAINTAINER= sunpoet@FreeBSD.org
COMMENT= PHP binding for Xapian
@ -18,7 +18,7 @@ LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= xapian-core>=${PORTVERSION}:databases/xapian-core
LIB_DEPENDS= libxapian.so:databases/xapian-core
USES= compiler:c++11-lang libtool php:build tar:xz
USES= compiler:c++11-lang libtool php:build,flavors tar:xz
CONFIGURE_ARGS= --datarootdir=${DATADIR} \
--docdir=${DOCSDIR} \
@ -36,6 +36,7 @@ CONFIGURE_ARGS= --datarootdir=${DATADIR} \
--without-tcl
CONFIGURE_ENV= PHP_CONFIG=${LOCALBASE}/bin/php-config
GNU_CONFIGURE= yes
IGNORE_WITH_PHP=80
INSTALL_TARGET= install-strip
USE_CXXSTD= c++11