aboutsummaryrefslogtreecommitdiff
path: root/java
diff options
context:
space:
mode:
authorJung-uk Kim <jkim@FreeBSD.org>2015-12-15 06:45:16 +0000
committerJung-uk Kim <jkim@FreeBSD.org>2015-12-15 06:45:16 +0000
commit95a9ce771de54a28db5280b0e594ab57afb03116 (patch)
treecd2f366fd224326beda9d71b41223ac8e74f09ab /java
parent2ff7cdda580870e06f9949900072e7b832c759d3 (diff)
downloadports-95a9ce771de54a28db5280b0e594ab57afb03116.tar.gz
ports-95a9ce771de54a28db5280b0e594ab57afb03116.zip
Notes
Diffstat (limited to 'java')
-rw-r--r--java/openjdk8/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/java/openjdk8/Makefile b/java/openjdk8/Makefile
index 39fe8bb005aa..13f02ff4be6c 100644
--- a/java/openjdk8/Makefile
+++ b/java/openjdk8/Makefile
@@ -270,7 +270,7 @@ 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/*}
+.if defined(${t}) && ${${t}:M/*}
BUILD_${t}= ${${t}:C|.*/||g}
CONFIGURE_ENV+= ${t}="${BUILD_${t}}"
TOOLS_DIR+= ${${t}:S|/${BUILD_${t}}$||}