summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhans <hans>2011-10-04 14:06:47 +0000
committerhans <hans>2011-10-04 14:06:47 +0000
commitcf01ebd5de34e8cea98b47f514ae8dc2ce330979 (patch)
tree80c253c2a960eea02f436c5217ae2a08d06a740d
parentc01fdd9bf00ab69c54d839675db1a48accf4ea83 (diff)
downloadpkgsrc-cf01ebd5de34e8cea98b47f514ae8dc2ce330979.tar.gz
Fix build on SunOS 5.10
-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