Date: Mon, 26 Aug 2013 17:28:29 +0000 (UTC) From: Baptiste Daroussin <bapt@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r325407 - head/archivers/snappy-java Message-ID: <201308261728.r7QHSTV4007492@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: bapt Date: Mon Aug 26 17:28:28 2013 New Revision: 325407 URL: http://svnweb.freebsd.org/changeset/ports/325407 Log: 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 Modified: head/archivers/snappy-java/Makefile Modified: head/archivers/snappy-java/Makefile ============================================================================== --- head/archivers/snappy-java/Makefile Mon Aug 26 17:24:09 2013 (r325406) +++ head/archivers/snappy-java/Makefile Mon Aug 26 17:28:28 2013 (r325407) @@ -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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308261728.r7QHSTV4007492>