diff --git a/databases/php-xapian/Makefile b/databases/php-xapian/Makefile index 2eecdef95d00..67fd74e3430b 100644 --- a/databases/php-xapian/Makefile +++ b/databases/php-xapian/Makefile @@ -18,12 +18,6 @@ LICENSE_FILE= ${WRKSRC}/COPYING BUILD_DEPENDS= xapian-core>=${PORTVERSION}:databases/xapian-core LIB_DEPENDS= libxapian.so:databases/xapian-core -CONFLICTS_INSTALL= xapian-bindings12 - -OPTIONS_DEFINE= DOCS - -PORTSCOUT= limitw:1,even - USES= compiler:c++11-lang libtool php:build tar:xz CONFIGURE_ARGS= --datarootdir=${DATADIR} \ @@ -47,6 +41,12 @@ USE_CXXSTD= c++11 PLIST_SUB= PHP_EXT_DIR=${PHP_EXT_DIR} +CONFLICTS_INSTALL= xapian-bindings12 + +PORTSCOUT= limitw:1,even + +OPTIONS_DEFINE= DOCS + post-patch: @${REINPLACE_CMD} -e 's|-lstdc++||g' ${WRKSRC}/configure