From owner-svn-ports-head@FreeBSD.ORG Mon Aug 26 17:28:29 2013 Return-Path: Delivered-To: svn-ports-head@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 81D34754; Mon, 26 Aug 2013 17:28:29 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 6F29822EB; Mon, 26 Aug 2013 17:28:29 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r7QHSTVv007493; Mon, 26 Aug 2013 17:28:29 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r7QHSTV4007492; Mon, 26 Aug 2013 17:28:29 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201308261728.r7QHSTV4007492@svn.freebsd.org> From: Baptiste Daroussin Date: Mon, 26 Aug 2013 17:28:29 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r325407 - head/archivers/snappy-java X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Aug 2013 17:28:29 -0000 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