summaryrefslogtreecommitdiff
path: root/lang/gcc32
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2003-04-13 06:05:49 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2003-04-13 06:05:49 +0000
commit81c16ac79d36c88c24c491dda93384311ec4603d (patch)
tree720bc1fdbfdbb50cffc8fe8f224b5c5567aba36c /lang/gcc32
parentUpdate to 2.1.93. (diff)
1) COMMENT can be overrritten by a slave port (suggested by obrien)
2) Option WANT_SHAREDLIBS now uses ldconfig, so LIB_DEPENDS work. fix PLIST so critical file libgcc_s.so.1 is included. no response from obrien since 2003-03-31 Approved by: gerald
Diffstat (limited to 'lang/gcc32')
-rw-r--r--lang/gcc32/Makefile7
1 files changed, 5 insertions, 2 deletions
diff --git a/lang/gcc32/Makefile b/lang/gcc32/Makefile
index edfa4bb7bbef..ccf862df660d 100644
--- a/lang/gcc32/Makefile
+++ b/lang/gcc32/Makefile
@@ -24,7 +24,7 @@ DISTFILES= gcc-core-${PORTVERSION}${EXTRACT_SUFX} \
gcc-objc-${PORTVERSION}${EXTRACT_SUFX}
MAINTAINER= gerald@FreeBSD.org
-COMMENT= GNU Compiler Collection 3.2.2
+COMMENT?= GNU Compiler Collection 3.2.2
.if defined (WITH_BOUNDSCHECKING)
# Fetch another file, but don't extract it. Also add another patchfile.
@@ -68,6 +68,9 @@ CONFIGURE_ARGS+= --with-system-zlib --includedir=${TARGLIB}/include/Java
CONFIGURE_ENV= MAKEINFO="makeinfo --no-split"
.if defined(WANT_SHAREDLIBS)
CONFIGURE_ARGS+= --enable-shared
+INSTALLS_SHLIB= yes
+LDCONFIG_DIRS= %%PREFIX%%/lib ${TARGLIB}
+EXTRA_SHLIB= libgcc_s
.else
CONFIGURE_ARGS+= --disable-shared
.endif
@@ -173,7 +176,7 @@ post-install:
${MV} -f ${PREFIX}/bin/gccbug ${PREFIX}/bin/gccbug-${PORTVERSION}
# These 3 libraries are moved from PREFIX/lib to avoid conflicts
# with the stock compiler.
-.for file in libstdc++ libsupc++ libg2c libfrtbegin libobjc
+.for file in libstdc++ libsupc++ libg2c libfrtbegin libobjc ${EXTRA_SHLIB}
${MV} -f ${PREFIX}/lib/${file}.* ${TARGLIB}
.endfor
-${MV} -f ${PREFIX}/lib/ieee ${TARGLIB}