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: work around libtool issue



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c5f9c61a7f15
branches:  trunk
changeset: 413845:c5f9c61a7f15
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sun Mar 22 19:28:51 2020 +0000

description:
php-phrasea2: work around libtool issue

diffstat:

 www/php-phrasea2/Makefile |  6 +++++-
 1 files changed, 5 insertions(+), 1 deletions(-)

diffs (20 lines):

diff -r 3c10c02ba972 -r c5f9c61a7f15 www/php-phrasea2/Makefile
--- a/www/php-phrasea2/Makefile Sun Mar 22 18:48:06 2020 +0000
+++ b/www/php-phrasea2/Makefile Sun Mar 22 19:28:51 2020 +0000
@@ -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 @@
 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
 



Home | Main Index | Thread Index | Old Index