diff options
author | Jung-uk Kim <jkim@FreeBSD.org> | 2015-12-14 23:02:49 +0000 |
---|---|---|
committer | Jung-uk Kim <jkim@FreeBSD.org> | 2015-12-14 23:02:49 +0000 |
commit | c8b2413599015413232140a35555aaa439933883 (patch) | |
tree | ca758b09ae8ae11d5f8c2cce7fcf13be1c70fb45 /java | |
parent | 7f355822bbb3d973c785c8495eaafeaac10d2710 (diff) | |
download | ports-c8b2413599015413232140a35555aaa439933883.tar.gz ports-c8b2413599015413232140a35555aaa439933883.zip |
Notes
Diffstat (limited to 'java')
-rw-r--r-- | java/openjdk8/Makefile | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/java/openjdk8/Makefile b/java/openjdk8/Makefile index dc51b7a5cf85..893ef1d1987b 100644 --- a/java/openjdk8/Makefile +++ b/java/openjdk8/Makefile @@ -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" |