Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 2 Dec 2018 20:37:44 +0000 (UTC)
From:      Boris Samorodov <bsam@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r486484 - head/devel/libastylej
Message-ID:  <201812022037.wB2KbiY3055728@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bsam
Date: Sun Dec  2 20:37:44 2018
New Revision: 486484
URL: https://svnweb.freebsd.org/changeset/ports/486484

Log:
  devel/libastylej: respect CXX
  
  PR:		233704
  Submitted by:	Piotr Kubaj <pkubaj@anongoth.pl>

Modified:
  head/devel/libastylej/Makefile

Modified: head/devel/libastylej/Makefile
==============================================================================
--- head/devel/libastylej/Makefile	Sun Dec  2 20:27:18 2018	(r486483)
+++ head/devel/libastylej/Makefile	Sun Dec  2 20:37:44 2018	(r486484)
@@ -15,7 +15,7 @@ LICENSE=	LGPL3
 
 ALL_TARGET=	java
 LDFLAGS+=	-s
-USES=		compiler gmake
+USES=		compiler:c++11-lang gmake
 USE_JAVA=	yes
 USE_LDCONFIG=	yes
 MAKE_ARGS+=	JAVA_HOME=${JAVA_HOME}
@@ -27,6 +27,7 @@ PLIST_FILES=	lib/jni/libastylej${PKGNAMESUFFIX}.so lib
 post-patch:
 	${REINPLACE_CMD} -e 's,\(JAVAINCS.*=.*\),\1 -I$(JAVA_HOME)/include/freebsd,' \
 		-e '176 s,libastylej\.so,libastylej${PKGNAMESUFFIX}\.so,2' \
+		-e 's/CXX = g++/CXX ?= g++/' \
 		${WRKSRC}/Makefile
 
 do-install:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201812022037.wB2KbiY3055728>