pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/www/php-phrasea2 php-phrasea2: override CXX instead of...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/444bddcc064b
branches:  trunk
changeset: 425590:444bddcc064b
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sun Mar 22 20:33:29 2020 +0000

description:
php-phrasea2: override CXX instead of LIBTOOL. Suggested by joerg@.

diffstat:

 www/php-phrasea2/Makefile |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (21 lines):

diff -r bf2651268794 -r 444bddcc064b www/php-phrasea2/Makefile
--- a/www/php-phrasea2/Makefile Sun Mar 22 20:28:13 2020 +0000
+++ b/www/php-phrasea2/Makefile Sun Mar 22 20:33:29 2020 +0000
@@ -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 @@
 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



Home | Main Index | Thread Index | Old Index