Date: Mon, 14 Dec 2015 23:02:49 +0000 (UTC) From: Jung-uk Kim <jkim@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r403745 - head/java/openjdk8 Message-ID: <201512142302.tBEN2n9c074595@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jkim Date: Mon Dec 14 23:02:49 2015 New Revision: 403745 URL: https://svnweb.freebsd.org/changeset/ports/403745 Log: Respect CC, CPP and CXX with full paths. PR: 203747 Modified: head/java/openjdk8/Makefile Modified: head/java/openjdk8/Makefile ============================================================================== --- head/java/openjdk8/Makefile Mon Dec 14 22:53:14 2015 (r403744) +++ head/java/openjdk8/Makefile Mon Dec 14 23:02:49 2015 (r403745) @@ -268,6 +268,18 @@ JDK_BUILD_TYPE= release AUTOCONF_ARGS= -I . -o generated-configure.sh generated-configure.ac +# XXX configure script rejects CC/CPP/CXX with absolute paths. +.for t in CC CPP CXX +.if defined(${t}) && ${${t}:[#]} == 1 && ${${t}:M/*} +BUILD_${t}= ${${t}:C|.*/||g} +CONFIGURE_ENV+= ${t}="${BUILD_${t}}" +TOOLS_DIR+= ${${t}:S|/${BUILD_${t}}$||} +.endif +.endfor +.if defined(TOOLS_DIR) +CONFIGURE_ARGS+= --with-tools-dir="${TOOLS_DIR:u:S/ /:/g}" +.endif + .include <bsd.port.pre.mk> .if ${ARCH:Marmv6*} || ${ARCH} == "i386"
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201512142302.tBEN2n9c074595>