diff options
author | sbd <sbd> | 2012-04-16 05:00:44 +0000 |
---|---|---|
committer | sbd <sbd> | 2012-04-16 05:00:44 +0000 |
commit | 5549fd0f5a4d20d857ee395c40f0d8b793260c58 (patch) | |
tree | be62b9c0f5855c50a605177d94f696f769320647 /mk/compiler | |
parent | 6f295e5d101564595242f0422d0d33751038df6f (diff) | |
download | pkgsrc-5549fd0f5a4d20d857ee395c40f0d8b793260c58.tar.gz |
Make sure that gcc47 JAVA_WRAPPERS don't break the _GCC_SUBPREFIX detection.
Diffstat (limited to 'mk/compiler')
-rw-r--r-- | mk/compiler/gcc.mk | 3 |
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 \ |