summaryrefslogtreecommitdiff
path: root/mk
diff options
context:
space:
mode:
authorsbd <sbd>2012-04-16 05:00:44 +0000
committersbd <sbd>2012-04-16 05:00:44 +0000
commit30af68a43866e301d68eda6e634ccc6ee75da46e (patch)
treebe62b9c0f5855c50a605177d94f696f769320647 /mk
parent1088c01246d609b191993607fe8f648418bf09a1 (diff)
downloadpkgsrc-30af68a43866e301d68eda6e634ccc6ee75da46e.tar.gz
Make sure that gcc47 JAVA_WRAPPERS don't break the _GCC_SUBPREFIX detection.
Diffstat (limited to 'mk')
-rw-r--r--mk/compiler/gcc.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/compiler/gcc.mk b/mk/compiler/gcc.mk
index 6ef48e36046..bbd26d87ade 100644
--- a/mk/compiler/gcc.mk
+++ b/mk/compiler/gcc.mk
@@ -1,4 +1,4 @@
-# $NetBSD: gcc.mk,v 1.116 2012/04/13 03:03:36 sbd Exp $
+# $NetBSD: gcc.mk,v 1.117 2012/04/16 05:00:44 sbd Exp $
#
# This is the compiler definition for the GNU Compiler Collection.
#
@@ -474,6 +474,7 @@ _GCC_SUBPREFIX!= \
if ${PKG_INFO} -qe ${_GCC_PKGBASE}; then \
${PKG_INFO} -f ${_GCC_PKGBASE} | \
${GREP} "File:.*bin/gcc" | \
+ ${GREP} -v "/gcc[0-9][0-9]*-.*" | \
${SED} -e "s/.*File: *//;s/bin\/gcc.*//;q"; \
else \
case ${_CC} in \