pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/gcc34 Check the version of as using the just-comp...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/5c452d4a5fcb
branches:  trunk
changeset: 478896:5c452d4a5fcb
user:      shannonjr <shannonjr%pkgsrc.org@localhost>
date:      Sun Aug 01 10:14:16 2004 +0000

description:
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@localhost

diffstat:

 lang/gcc34/Makefile |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (26 lines):

diff -r 95ca3772b3bd -r 5c452d4a5fcb lang/gcc34/Makefile
--- a/lang/gcc34/Makefile       Sun Aug 01 08:56:10 2004 +0000
+++ b/lang/gcc34/Makefile       Sun Aug 01 10:14:16 2004 +0000
@@ -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 @@
 .    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 @@
 .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



Home | Main Index | Thread Index | Old Index