summaryrefslogtreecommitdiff
path: root/lang/gcc44
diff options
context:
space:
mode:
authorhans <hans@pkgsrc.org>2011-10-04 14:06:47 +0000
committerhans <hans@pkgsrc.org>2011-10-04 14:06:47 +0000
commitb9b0aca930b608c056d8b4a8c0ee0c2c863d643a (patch)
tree80c253c2a960eea02f436c5217ae2a08d06a740d /lang/gcc44
parent260009a314824ed8bc4c7352fe4ab29d7f56e5bc (diff)
downloadpkgsrc-b9b0aca930b608c056d8b4a8c0ee0c2c863d643a.tar.gz
Fix build on SunOS 5.10
Diffstat (limited to 'lang/gcc44')
-rw-r--r--lang/gcc44/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/lang/gcc44/Makefile b/lang/gcc44/Makefile
index 3d0db0f0117..528472e15cf 100644
--- a/lang/gcc44/Makefile
+++ b/lang/gcc44/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2011/07/14 12:52:35 hans Exp $
+# $NetBSD: Makefile,v 1.26 2011/10/04 14:06:47 hans Exp $
DISTNAME= gcc-${GCC_VERSION}
PKGNAME= gcc44-${GCC_VERSION}
@@ -36,11 +36,11 @@ UNLIMIT_RESOURCES+= stacksize
# Determine whether to use binutils
.if ${OPSYS} == "SunOS"
-CONFIGURE_ARGS+= --without-gnu-ld --with-ld=/usr/bin/ld
-. if !exists(/usr/bin/gas)
-CONFIGURE_ARGS+= --without-gnu-as --with-as=/usr/bin/as
+CONFIGURE_ARGS+= --without-gnu-ld --with-ld=/usr/ccs/bin/ld
+. if !exists(/usr/sfw/bin/gas)
+CONFIGURE_ARGS+= --without-gnu-as --with-as=/usr/ccs/bin/as
. else
-CONFIGURE_ARGS+= --with-gnu-as --with-as=/usr/bin/gas
+CONFIGURE_ARGS+= --with-gnu-as --with-as=/usr/sfw/bin/gas
.endif
.endif