diff options
author | shannonjr <shannonjr@pkgsrc.org> | 2004-08-01 10:14:16 +0000 |
---|---|---|
committer | shannonjr <shannonjr@pkgsrc.org> | 2004-08-01 10:14:16 +0000 |
commit | 5fc9222ffbe20f660f4c966b2c186e5f8d73094d (patch) | |
tree | 1492ad8477c0e44e73c5314100e0164cad5b103a /lang/gcc34/Makefile | |
parent | 5a7825ef72074c03281455986caa64888b5fc279 (diff) | |
download | pkgsrc-5fc9222ffbe20f660f4c966b2c186e5f8d73094d.tar.gz |
Check the version of as using the just-computed ${AS_PATH}, not ${AS},
following the change to gcc3/Makefile.common submitted by jlam@netbsd.org
Diffstat (limited to 'lang/gcc34/Makefile')
-rw-r--r-- | lang/gcc34/Makefile | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/lang/gcc34/Makefile b/lang/gcc34/Makefile index 4a5eb87ff81..4f6accdbd18 100644 --- a/lang/gcc34/Makefile +++ b/lang/gcc34/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.9 2004/07/28 21:30:19 shannonjr Exp $ +# $NetBSD: Makefile,v 1.10 2004/08/01 10:14:16 shannonjr Exp $ # DISTNAME= gcc-${GCC_VERSION} @@ -30,7 +30,7 @@ AS_PATH:= ${_dir_}/${AS} . if !empty(AS_PATH:M${LOCALBASE}/*) USE_BINUTILS= YES . else -AS_VERSION!= ${AS} --version | ${AWK} '{ \ +AS_VERSION!= ${AS_PATH} --version | ${AWK} '{ \ split($$3, v, /[.]/); \ printf "%02d%02d%02d%02d\n",v[1],v[2],v[3],v[4]; \ exit; \ @@ -43,6 +43,7 @@ MAKEFLAGS+= USE_BINUTILS=${USE_BINUTILS} .if defined(USE_BINUTILS) && !empty(USE_BINUTILS:M[yY][eE][sS]) DEPENDS+= binutils>=2.14:../../devel/binutils CONFIGURE_ARGS+= --with-as=${LOCALBASE}/bin/as +CONFIGURE_ARGS+= --with-ld=${LOCALBASE}/bin/ld CONFIGURE_ARGS+= --with-gnu-as CONFIGURE_ARGS+= --with-gnu-ld .endif |