diff options
author | dinoex <dinoex@FreeBSD.org> | 2003-04-21 15:59:03 +0800 |
---|---|---|
committer | dinoex <dinoex@FreeBSD.org> | 2003-04-21 15:59:03 +0800 |
commit | 1b8d4208ee11efa04cf643e0c23a1705996dd0a6 (patch) | |
tree | 144df2ae0b3fb2ac43993c686b8dc323e7a00aa3 /lang/gcc/Makefile | |
parent | 5c0229531fd94a8943cedb5e36a34882c0a30b60 (diff) | |
download | freebsd-ports-gnome-1b8d4208ee11efa04cf643e0c23a1705996dd0a6.tar.gz freebsd-ports-gnome-1b8d4208ee11efa04cf643e0c23a1705996dd0a6.tar.zst freebsd-ports-gnome-1b8d4208ee11efa04cf643e0c23a1705996dd0a6.zip |
merge changes from gcc32 to gcc33 after testing
- Option WANT_SHAREDLIBS now uses ldconfig, so LIB_DEPENDS work.
- fix PLIST so critical file libgcc_s.so.1 is included.
- complete PLIST
- COMMENT can be overrritten by a slave port
- uncomment MANPAGES, as they are currently not installed.
Diffstat (limited to 'lang/gcc/Makefile')
-rw-r--r-- | lang/gcc/Makefile | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/lang/gcc/Makefile b/lang/gcc/Makefile index ed2493a4d7e5..ab6e961bb930 100644 --- a/lang/gcc/Makefile +++ b/lang/gcc/Makefile @@ -26,7 +26,7 @@ DISTFILES= \ .endif MAINTAINER= ports@FreeBSD.org -COMMENT= GNU Compiler Collection 3.3 (inprogress version) +COMMENT?= GNU Compiler Collection 3.3 (inprogress version) NO_CDROM= 'dated material' LATEST_LINK?= gcc33${PKGNAMESUFFIX} @@ -69,6 +69,9 @@ CONFIGURE_ENV= MAKEINFO="makeinfo --no-split" MAKE_ARGS+= MAKEINFOFLAGS="--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 @@ -78,10 +81,11 @@ CONFIGURE_ARGS+= --enable-threads CONFIGURE_ARGS+= --enable-threads=posix .endif ALL_TARGET= bootstrap -MAN1= cpp33.1 g++33.1 g77-33.1 gcc33.1 gcov33.1 \ - gcj33.1 gcjh33.1 gij33.1 grepjar33.1 jar33.1 \ - jcf-dump33.1 jv-scan33.1 jv-convert33.1 -MAN7= fsf-funding.7 gfdl.7 gpl.7 +#MAN1= cpp33.1 g++33.1 g77-33.1 gcc33.1 gcov33.1 \ +# gcj33.1 gcjh33.1 gij33.1 grepjar33.1 jar33.1 \ +# jcf-dump33.1 jv-scan33.1 jv-convert33.1 +MAN1= g++33.1 grepjar33.1 jar33.1 +#MAN7= fsf-funding.7 gfdl.7 gpl.7 pre-fetch: @${ECHO} "Making GCC ${DISTNAME:S/^gcc-//} for ${OPSYS} ${OSREL} ${PORTOBJFORMAT} target ${CONFIGURE_TARGET}" @@ -157,7 +161,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} @@ -165,7 +169,7 @@ post-install: -${MV} -f ${PREFIX}/lib/libgcj.* ${TARGLIB} ${RM} -f ${PREFIX}/lib/libiberty.a ${RM} -f ${TARGLIB}/*.la -.for info in cpp cppinternals g77 gcc gcj +.for info in cpp cppinternals g77 gcc gccint gcj fastjar install-info ${PREFIX}/info/${info}.info ${PREFIX}/info/dir .endfor # I am sick and tired of the anonyance that man pages can only be generated if |