summaryrefslogtreecommitdiff
path: root/cross
diff options
context:
space:
mode:
authormartin <martin@pkgsrc.org>2014-07-02 13:20:51 +0000
committermartin <martin@pkgsrc.org>2014-07-02 13:20:51 +0000
commitab54d10066590019239b593fc0a86330dab5b35f (patch)
tree5a0f537d36669215ea8093ab32c94d0cb931f3df /cross
parentf8f8b30007b5d279de3f8ad533ef6090515f4f5a (diff)
downloadpkgsrc-ab54d10066590019239b593fc0a86330dab5b35f.tar.gz
Workaround for bugzilla ticket 61651: pass explicit --with-.. for all binutils
programs to configure.
Diffstat (limited to 'cross')
-rw-r--r--cross/gcc-mips-current/Makefile9
1 files changed, 5 insertions, 4 deletions
diff --git a/cross/gcc-mips-current/Makefile b/cross/gcc-mips-current/Makefile
index f69828d8f80..8b86d488e63 100644
--- a/cross/gcc-mips-current/Makefile
+++ b/cross/gcc-mips-current/Makefile
@@ -1,11 +1,11 @@
-# $NetBSD: Makefile,v 1.4 2014/07/02 12:53:35 martin Exp $
+# $NetBSD: Makefile,v 1.5 2014/07/02 13:20:51 martin Exp $
GCC_DIST_VERSION=4.9.0
GCC_PKGNAME= gcc-mips-${GCC_DIST_VERSION}
DISTNAME= gcc-${GCC_DIST_VERSION}
PKGNAME= ${GCC_PKGNAME}
-PKGREVISION= 3
+PKGREVISION= 4
CATEGORIES= cross lang
MASTER_SITES= ${MASTER_SITE_GNU:=gcc/gcc-${GCC_DIST_VERSION}/}
EXTRACT_SUFX= .tar.bz2
@@ -56,9 +56,10 @@ CONFIGURE_ENV+= LDFLAGS_FOR_TARGET=${LDFLAGS_FOR_TARGET:Q}
# Make sure the target binutils are both in PATH and supplied explicitly
# to configure
-# .for prg in as ar ld nm strip objcopy objdump ranlib readelf
+.for prg in as ar ld nm strip objcopy objdump ranlib readelf
# CONFIGURE_ENV+= ${prg:tu}_FOR_TARGET=${PREFIX}/bin/${TARGET}-${prg}
-# .endfor
+CONFIGURE_ARGS+= --with-${prg}=${PREFIX}/bin/${TARGET}-${prg}
+.endfor
CONFIGURE_ARGS+= --disable-nls
CONFIGURE_ARGS+= --disable-libquadmath