summaryrefslogtreecommitdiff
path: root/www
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2020-03-22 20:33:29 +0000
committertnn <tnn@pkgsrc.org>2020-03-22 20:33:29 +0000
commitb4162025141c9b9b3e75c200eb0984efa08d7f40 (patch)
treeaf079cb698f8f18d887641b64aec2fc728fbd27f /www
parentd3f731f03817dd206ea51b6258c4e0192d147bee (diff)
downloadpkgsrc-b4162025141c9b9b3e75c200eb0984efa08d7f40.tar.gz
php-phrasea2: override CXX instead of LIBTOOL. Suggested by joerg@.
Diffstat (limited to 'www')
-rw-r--r--www/php-phrasea2/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/www/php-phrasea2/Makefile b/www/php-phrasea2/Makefile
index 918f9e99c80..03e91f20801 100644
--- a/www/php-phrasea2/Makefile
+++ b/www/php-phrasea2/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2020/03/22 19:28:51 tnn Exp $
+# $NetBSD: Makefile,v 1.15 2020/03/22 20:33:29 tnn Exp $
#
.include "../../www/phraseanet/Makefile.common"
@@ -21,8 +21,9 @@ 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
+# confuses libtool, which can't deduce the tagged configuration if
+# pkgsrc's idea of CXX is something other than g++.
+MAKE_FLAGS+= CC=${CXX}
# This seems to now be needed though it wasn't before...
WRKSRC= ${WRKDIR}/${DISTNAME}/bin/src/php_phrasea2