diff options
author | gerald <gerald@FreeBSD.org> | 2012-10-12 23:18:02 +0800 |
---|---|---|
committer | gerald <gerald@FreeBSD.org> | 2012-10-12 23:18:02 +0800 |
commit | 5bbe45dc76ce2bcb482cfc185eafa467c1e309b7 (patch) | |
tree | e71ea8f883c61291e853f829895884c0e8bc3fe9 /lang | |
parent | 88b2cc9ee60ef586cef0f7d6e0a2b59681cac03b (diff) | |
download | freebsd-ports-gnome-5bbe45dc76ce2bcb482cfc185eafa467c1e309b7.tar.gz freebsd-ports-gnome-5bbe45dc76ce2bcb482cfc185eafa467c1e309b7.tar.zst freebsd-ports-gnome-5bbe45dc76ce2bcb482cfc185eafa467c1e309b7.zip |
For releases, libquadmath.info is always installed, even on
architectures where the library is not supported. [1]
Revamp the handling of different languages (frontends, run-times)
by GCC to allow for orthogonal setting them in the future. [2]
Print the list of languages being built as part of pre-everything
and shorten the output of operating system and version there.
Reported by: linimon [1]
Inspired by: jkim [2]
Feature safe: yes
Diffstat (limited to 'lang')
-rw-r--r-- | lang/gcc/Makefile | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/lang/gcc/Makefile b/lang/gcc/Makefile index f27a2011cf52..7728b313e8e0 100644 --- a/lang/gcc/Makefile +++ b/lang/gcc/Makefile @@ -1,3 +1,4 @@ +# Created by: Gerald Pfeifer <gerald@FreeBSD.org> # $FreeBSD$ PORTNAME= gcc @@ -51,6 +52,7 @@ CONFIGURE_TARGET= x86_64-portbld-freebsd${OSREL} CONFIGURE_TARGET= ${ARCH}-portbld-freebsd${OSREL} .endif +LANGUAGES:= c,c++,objc,fortran SRCDIR= ${WRKDIR}/gcc-${VERSIONSTRING} WRKSRC= ${WRKDIR}/build TARGLIB= ${PREFIX}/lib/gcc${SUFFIX} @@ -59,7 +61,6 @@ GNU_CONFIGURE= yes CFLAGS+= -I${LOCALBASE}/include CONFIGURE_ARGS+=--disable-bootstrap \ --disable-nls \ - --enable-languages=c,c++,objc,fortran \ --libdir=${TARGLIB} \ --libexecdir=${LIBEXEC} \ --program-suffix=${SUFFIX} \ @@ -87,9 +88,10 @@ INFO= gcc${SUFFIX}/cpp \ gcc${SUFFIX}/gccint \ gcc${SUFFIX}/gfortran \ gcc${SUFFIX}/libgomp -.if ${ARCH} != "ia64" && ${ARCH} != "powerpc" && ${ARCH} != "sparc64" +# Release tarballs (as opposed to snapshots) always carry this. +#.if ${ARCH} != "ia64" && ${ARCH} != "powerpc" && ${ARCH} != "sparc64" INFO+= gcc${SUFFIX}/libquadmath -.endif +#.endif .if ${PORT_OPTIONS:MJAVA} ECJ_JAR= ecj-4.5.jar @@ -99,7 +101,7 @@ DISTFILES+= ${ECJ_JAR}:ecj EXTRACT_ONLY= ${DISTFILES:S|${ECJ_JAR}:ecj||} BUILD_DEPENDS+= zip:${PORTSDIR}/archivers/zip EXTRA_PATCHES+= ${FILESDIR}/java-patch-hier -CONFIGURE_ARGS+=--enable-languages=c,c++,objc,fortran,java +LANGUAGES:= ${LANGUAGES},java MAN1+= aot-compile${SUFFIX}.1 \ gappletviewer${SUFFIX}.1 \ gc-analyze${SUFFIX}.1 \ @@ -136,9 +138,10 @@ post-patch:: CONFIGURE_ARGS+=--disable-libgcj PLIST_SUB+= JAVA="@comment " .endif +CONFIGURE_ARGS+=--enable-languages=${LANGUAGES} pre-everything:: - @${ECHO_MSG} "Making GCC ${PORTVERSION} for ${OPSYS} ${OSREL} target=${CONFIGURE_TARGET}" + @${ECHO_MSG} "Making GCC ${PORTVERSION} for ${CONFIGURE_TARGET} [${LANGUAGES}]" pre-configure: cd ${SRCDIR} ; contrib/gcc_update --touch |