summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-08-26 17:28:28 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-08-26 17:28:28 +0000
commit208261f48b6f04481ed1a50b36bfb1322ea658f3 (patch)
treed7b19f50a449da83237277d199d5a9da693b4349 /archivers
parentRemove --export-all-symbols which is not supported and makes 'make install' f... (diff)
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
Notes
Notes: svn path=/head/; revision=325407
Diffstat (limited to 'archivers')
-rw-r--r--archivers/snappy-java/Makefile5
1 files changed, 3 insertions, 2 deletions
diff --git a/archivers/snappy-java/Makefile b/archivers/snappy-java/Makefile
index 4379c5169dae..37a205625959 100644
--- a/archivers/snappy-java/Makefile
+++ b/archivers/snappy-java/Makefile
@@ -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