summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2020-03-22 19:28:51 +0000
committertnn <tnn@pkgsrc.org>2020-03-22 19:28:51 +0000
commitfa85ce6ba440e2aa5b5118f6445e89cebfe5305f (patch)
tree65aeff3f8b600fad147fa27efa7afc390c077bef /www
parentd6ea481f781e8277b3d2d1f254db055407376ec0 (diff)
downloadpkgsrc-fa85ce6ba440e2aa5b5118f6445e89cebfe5305f.tar.gz
php-phrasea2: work around libtool issue
Diffstat (limited to 'www')
-rw-r--r--www/php-phrasea2/Makefile6
1 files changed, 5 insertions, 1 deletions
diff --git a/www/php-phrasea2/Makefile b/www/php-phrasea2/Makefile
index f8c0f6cf7e2..918f9e99c80 100644
--- a/www/php-phrasea2/Makefile
+++ b/www/php-phrasea2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2019/11/04 22:10:11 rillig Exp $
+# $NetBSD: Makefile,v 1.14 2020/03/22 19:28:51 tnn Exp $
#
.include "../../www/phraseanet/Makefile.common"
@@ -20,6 +20,10 @@ PHP_VERSIONS_ACCEPTED= 56
DISTNAME= phraseanet-v${VERS}-linux
DIST_SUBDIR= #empty
+# The package's config.mk sets CC=g++, which is a bit unorthodox and
+# confuses libtool. Libtool needs an explicit tagged configuration.
+MAKE_FLAGS+= LIBTOOL=libtool\ --tag=CXX
+
# This seems to now be needed though it wasn't before...
WRKSRC= ${WRKDIR}/${DISTNAME}/bin/src/php_phrasea2