1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

Propertly run make with the right ENV and ARGS and define the C++ compiler via MAKE_ARGS, this allows the package to build with clang

This commit is contained in:
Baptiste Daroussin 2013-08-26 17:28:28 +00:00
parent 6c26406029
commit 208261f48b
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=325407

View File

@ -33,7 +33,8 @@ USE_GITHUB= yes
USE_JAVA= yes
JAVA_VERSION= 1.7
USE_GMAKE= yes
USES= gmake
MAKE_ARGS+= Default_CXX=${CXX}
PLIST_FILES= %%JAVAJARDIR%%/snappy-java.jar
@ -49,7 +50,7 @@ pre-build:
do-build: pre-build
cd ${WRKSRC} && ${SETENV} JAVA_HOME=${JAVA_HOME} \
${GMAKE} && ${LOCALBASE}/share/java/maven3/bin/mvn -Dmaven.repo.local=${WRKDIR}/repository --offline test
${SETENV} ${MAKE_ENV} ${GMAKE} ${MAKE_ARGS} && ${LOCALBASE}/share/java/maven3/bin/mvn -Dmaven.repo.local=${WRKDIR}/repository --offline test
do-install:
${INSTALL_DATA} ${WRKSRC}/target/snappy-java-${PORTVERSION}.jar ${JAVAJARDIR}/snappy-java.jar