summaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorbouyer <bouyer>2003-03-31 15:59:39 +0000
committerbouyer <bouyer>2003-03-31 15:59:39 +0000
commit5d02cd4b63ed4e9398e7ab85dcef19469dcb8eec (patch)
treec37cf9f838587c5c4ff83d41de3720146aec8a2f /lang
parent13c5c6ead468c56b9ce30a5b900f81f8b8c7d5bf (diff)
downloadpkgsrc-5d02cd4b63ed4e9398e7ab85dcef19469dcb8eec.tar.gz
--enable-shared is fine for solaris too (modulo PR pkg/20697, which also
exists on NetBSD and probably linux), and --disable-shared cause problems with some packages (e.g. ncurses).
Diffstat (limited to 'lang')
-rw-r--r--lang/gcc3/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/lang/gcc3/Makefile b/lang/gcc3/Makefile
index 813b77d2584..863f3076c71 100644
--- a/lang/gcc3/Makefile
+++ b/lang/gcc3/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2003/03/22 02:59:32 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2003/03/31 15:59:39 bouyer Exp $
# Make sure that the version number in "Makefile.gcc" matches this.
DISTNAME= gcc-3.2.2
@@ -33,7 +33,11 @@ INFO_FILES= cpp.info g77.info gcc.info gcj.info
.if (${OPSYS} == "NetBSD") || (${OPSYS} == "Linux")
CONFIGURE_ARGS+= --enable-shared
.else
+. if (${OPSYS} == "SunOS")
+CONFIGURE_ARGS+= --enable-shared
+. else
CONFIGURE_ARGS+= --disable-shared
+. endif
. if ${CC:M*gcc*} == ""
ALL_TARGET= bootstrap
. endif
@@ -89,4 +93,3 @@ CONFIG_CPPFLAGS= ${CPPFLAGS:C/-O[0-9]*//g}
CONFIGURE_ENV+= CFLAGS="${CONFIG_CFLAGS}" CPPFLAGS="${CONFIG_CPPFLAGS}"
. endif
.endif
-