svn commit: r486484 - head/devel/libastylej

Boris Samorodov bsam at FreeBSD.org
Sun Dec 2 20:37:45 UTC 2018


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 at 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:


More information about the svn-ports-all mailing list