summaryrefslogtreecommitdiff
path: root/lang/gcc3
diff options
context:
space:
mode:
authorjlam <jlam@pkgsrc.org>2004-07-30 20:48:39 +0000
committerjlam <jlam@pkgsrc.org>2004-07-30 20:48:39 +0000
commit129ce057eb57cc273f4340f54d35b9f93924cbea (patch)
tree77d0d5e5babcd275f622529ca302929631d2747a /lang/gcc3
parentb1fc9951d16ca84bc476eaa3b669db985114e3f3 (diff)
downloadpkgsrc-129ce057eb57cc273f4340f54d35b9f93924cbea.tar.gz
Check the version of as using the just-computed ${AS_PATH}, not ${AS}.
Diffstat (limited to 'lang/gcc3')
-rw-r--r--lang/gcc3/Makefile.common4
1 files changed, 2 insertions, 2 deletions
diff --git a/lang/gcc3/Makefile.common b/lang/gcc3/Makefile.common
index 0f237c72133..934abda5403 100644
--- a/lang/gcc3/Makefile.common
+++ b/lang/gcc3/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.8 2004/07/03 12:15:22 grant Exp $
+# $NetBSD: Makefile.common,v 1.9 2004/07/30 20:48:39 jlam Exp $
GCC_VERSION= 3.3.4
DISTNAME= gcc-${GCC_VERSION}
@@ -73,7 +73,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; \