aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorgerald <gerald@FreeBSD.org>2013-11-03 07:20:14 +0800
committergerald <gerald@FreeBSD.org>2013-11-03 07:20:14 +0800
commitc2f0d50fcb346a053232a772766bae44a851a14a (patch)
treeda074301c85e73e10db299e2a4641e20ecfe45a8 /lang
parentb928dfe2b284efbbc8526d5f6b41bbbe0db8791f (diff)
downloadfreebsd-ports-gnome-c2f0d50fcb346a053232a772766bae44a851a14a.tar.gz
freebsd-ports-gnome-c2f0d50fcb346a053232a772766bae44a851a14a.tar.zst
freebsd-ports-gnome-c2f0d50fcb346a053232a772766bae44a851a14a.zip
Update to GCC 4.6.4 which, among others, addresses document building
with new versions of texinfo. [1] Adopt the new LIB_DEPENDS standard and replace USE_GMAKE by USES=gmake. Remove an obsolete dependency on bison. [2] STAGEify. PR: 183342 [1] Reported by: Christoph Moench-Tegeder <cmt@burggraben.net> [1], marino [2]
Diffstat (limited to 'lang')
-rw-r--r--lang/gcc/Makefile50
-rw-r--r--lang/gcc/distinfo4
-rw-r--r--lang/gcc/pkg-plist30
3 files changed, 40 insertions, 44 deletions
diff --git a/lang/gcc/Makefile b/lang/gcc/Makefile
index f9e0ef05874f..1c4cb3bb8cfa 100644
--- a/lang/gcc/Makefile
+++ b/lang/gcc/Makefile
@@ -2,8 +2,7 @@
# $FreeBSD$
PORTNAME= gcc
-PORTVERSION= 4.6.3
-PORTREVISION= 1
+PORTVERSION= 4.6.4
CATEGORIES= lang java
MASTER_SITES= ${MASTER_SITE_GCC}
MASTER_SITE_SUBDIR= releases/gcc-${DISTVERSION}
@@ -11,9 +10,9 @@ MASTER_SITE_SUBDIR= releases/gcc-${DISTVERSION}
MAINTAINER= gerald@FreeBSD.org
COMMENT= GNU Compiler Collection 4.6
-LIB_DEPENDS= gmp:${PORTSDIR}/math/gmp \
- mpfr:${PORTSDIR}/math/mpfr \
- mpc:${PORTSDIR}/math/mpc
+LIB_DEPENDS= libgmp.so:${PORTSDIR}/math/gmp \
+ libmpfr.so:${PORTSDIR}/math/mpfr \
+ libmpc.so:${PORTSDIR}/math/mpc
BUILD_DEPENDS+= ${LOCALBASE}/bin/as:${PORTSDIR}/devel/binutils
RUN_DEPENDS+= ${LOCALBASE}/bin/as:${PORTSDIR}/devel/binutils
@@ -21,7 +20,7 @@ RUN_DEPENDS+= ${LOCALBASE}/bin/as:${PORTSDIR}/devel/binutils
BUILD_DEPENDS+= runtest:${PORTSDIR}/misc/dejagnu
.endif
-CONFLICTS= gcc-4.6.[4-9]*
+CONFLICTS= gcc-4.6.4*,1
# DISTVERSION relates to downloads, GCC_VERSION and SUFFIX to names
# of executables and directories once installed.
@@ -29,7 +28,7 @@ DISTVERSION= ${PORTVERSION}
GCC_VERSION= ${PORTVERSION:C/(.+)\.[0-9]{8}/\1/}
SUFFIX= ${PORTVERSION:C/([0-9]+).([0-9]+).*/\1\2/}
ONLY_FOR_ARCHS= amd64 i386 ia64 powerpc sparc64
-USES= bison gmake iconv perl5
+USES= gmake iconv perl5
USE_BINUTILS= yes
USE_BZIP2= yes
USE_PERL5= build
@@ -45,7 +44,6 @@ OPTIONS_DEFAULT_i386= JAVA
OPTIONS_DEFAULT_amd64= JAVA
BOOTSTRAP_DESC= Build using a full bootstrap
-NO_STAGE= yes
.include <bsd.port.pre.mk>
.if ${ARCH} == "amd64"
@@ -82,11 +80,6 @@ USE_LDCONFIG= ${TARGLIB}
PLIST_SUB= GCC_VERSION=${GCC_VERSION} \
GNU_HOST=${CONFIGURE_TARGET} \
SUFFIX=${SUFFIX}
-MAN1= cpp${SUFFIX}.1 \
- g++${SUFFIX}.1 \
- gcc${SUFFIX}.1 \
- gcov${SUFFIX}.1 \
- gfortran${SUFFIX}.1
INFO= gcc${SUFFIX}/cpp \
gcc${SUFFIX}/cppinternals \
gcc${SUFFIX}/gcc \
@@ -107,31 +100,6 @@ RUN_DEPENDS+= ${ECJ_JAR}:${PORTSDIR}/lang/gcc-ecj45
EXTRA_PATCHES+= ${FILESDIR}/java-patch-hier
CONFIGURE_ARGS+=--with-ecj-jar=${ECJ_JAR}
LANGUAGES:= ${LANGUAGES},java
-MAN1+= aot-compile${SUFFIX}.1 \
- gappletviewer${SUFFIX}.1 \
- gc-analyze${SUFFIX}.1 \
- gcj${SUFFIX}.1 \
- gcj-dbtool${SUFFIX}.1 \
- gcjh${SUFFIX}.1 \
- gij${SUFFIX}.1 \
- gjar${SUFFIX}.1 \
- gjarsigner${SUFFIX}.1 \
- gjavah${SUFFIX}.1 \
- gjdoc${SUFFIX}.1 \
- gkeytool${SUFFIX}.1 \
- gnative2ascii${SUFFIX}.1 \
- gorbd${SUFFIX}.1 \
- grmic${SUFFIX}.1 \
- grmid${SUFFIX}.1 \
- grmiregistry${SUFFIX}.1 \
- gserialver${SUFFIX}.1 \
- gtnameserv${SUFFIX}.1 \
- jcf-dump${SUFFIX}.1 \
- jv-convert${SUFFIX}.1 \
- rebuild-gcj-db${SUFFIX}.1
-MAN3= ffi${SUFFIX}.3 \
- ffi_call${SUFFIX}.3 \
- ffi_prep_cif${SUFFIX}.3
INFO+= gcc${SUFFIX}/cp-tools \
gcc${SUFFIX}/gcj
PLIST_SUB+= JAVA=""
@@ -155,13 +123,11 @@ full-regression-test: build
.endif
post-install:
- ${RM} -f ${PREFIX}/man/man7/fsf-funding.7 \
- ${PREFIX}/man/man7/gfdl.7 ${PREFIX}/man/man7/gpl.7
- ${RM} -f ${TARGLIB}/*.la
+ ${RM} -f ${STAGEDIR}${TARGLIB}/*.la
# Add target libraries and include files to packaging list.
${RM} -f ${WRKDIR}/PLIST.lib
.for d in ${TARGLIB:S/^${PREFIX}\///} ${LIBEXEC:S/^${PREFIX}\///} include/gcj include/gnu include/java include/javax
- cd ${PREFIX} ; if [ -d $d ]; then \
+ cd ${STAGEDIR}${PREFIX} ; if [ -d $d ]; then \
${FIND} $d -type f -o -type l >>${WRKDIR}/PLIST.lib ;\
${FIND} $d -type d | ${SORT} -r \
| ${SED} -e 's/^/@dirrm /g' >>${WRKDIR}/PLIST.lib ;\
diff --git a/lang/gcc/distinfo b/lang/gcc/distinfo
index 7d26ab650b74..9214124401ed 100644
--- a/lang/gcc/distinfo
+++ b/lang/gcc/distinfo
@@ -1,2 +1,2 @@
-SHA256 (gcc-4.6.3.tar.bz2) = e8f5853d4eec2f5ebaf8a72ae4d53c436aacf98153b2499f8635b48c4718a093
-SIZE (gcc-4.6.3.tar.bz2) = 71999439
+SHA256 (gcc-4.6.4.tar.bz2) = 35af16afa0b67af9b8eb15cafb76d2bc5f568540552522f5dc2c88dd45d977e8
+SIZE (gcc-4.6.4.tar.bz2) = 72006076
diff --git a/lang/gcc/pkg-plist b/lang/gcc/pkg-plist
index 01837937cbfe..1d1432a263dd 100644
--- a/lang/gcc/pkg-plist
+++ b/lang/gcc/pkg-plist
@@ -11,6 +11,11 @@ bin/gcc%%SUFFIX%%
bin/gcov%%SUFFIX%%
bin/gfortran%%SUFFIX%%
info/gcc%%SUFFIX%%/dir
+man/man1/cpp%%SUFFIX%%.1.gz
+man/man1/g++%%SUFFIX%%.1.gz
+man/man1/gcc%%SUFFIX%%.1.gz
+man/man1/gcov%%SUFFIX%%.1.gz
+man/man1/gfortran%%SUFFIX%%.1.gz
%%JAVA%%share/gcc-%%GCC_VERSION%%/python/libjava/aotcompile.py
%%JAVA%%share/gcc-%%GCC_VERSION%%/python/libjava/classfile.py
%%JAVA%%@dirrm share/gcc-%%GCC_VERSION%%/python/libjava
@@ -44,6 +49,31 @@ share/gcc-%%GCC_VERSION%%/python/libstdcxx/v6/printers.py
%%JAVA%%bin/jv-convert%%SUFFIX%%
%%JAVA%%bin/rebuild-gcj-db%%SUFFIX%%
%%JAVA%%libdata/pkgconfig/libgcj-4.6.pc
+%%JAVA%%man/man1/aot-compile%%SUFFIX%%.1.gz
+%%JAVA%%man/man1/gappletviewer%%SUFFIX%%.1.gz
+%%JAVA%%man/man1/gc-analyze%%SUFFIX%%.1.gz
+%%JAVA%%man/man1/gcj%%SUFFIX%%.1.gz
+%%JAVA%%man/man1/gcj-dbtool%%SUFFIX%%.1.gz
+%%JAVA%%man/man1/gcjh%%SUFFIX%%.1.gz
+%%JAVA%%man/man1/gij%%SUFFIX%%.1.gz
+%%JAVA%%man/man1/gjar%%SUFFIX%%.1.gz
+%%JAVA%%man/man1/gjarsigner%%SUFFIX%%.1.gz
+%%JAVA%%man/man1/gjavah%%SUFFIX%%.1.gz
+%%JAVA%%man/man1/gjdoc%%SUFFIX%%.1.gz
+%%JAVA%%man/man1/gkeytool%%SUFFIX%%.1.gz
+%%JAVA%%man/man1/gnative2ascii%%SUFFIX%%.1.gz
+%%JAVA%%man/man1/gorbd%%SUFFIX%%.1.gz
+%%JAVA%%man/man1/grmic%%SUFFIX%%.1.gz
+%%JAVA%%man/man1/grmid%%SUFFIX%%.1.gz
+%%JAVA%%man/man1/grmiregistry%%SUFFIX%%.1.gz
+%%JAVA%%man/man1/gserialver%%SUFFIX%%.1.gz
+%%JAVA%%man/man1/gtnameserv%%SUFFIX%%.1.gz
+%%JAVA%%man/man1/jcf-dump%%SUFFIX%%.1.gz
+%%JAVA%%man/man1/jv-convert%%SUFFIX%%.1.gz
+%%JAVA%%man/man1/rebuild-gcj-db%%SUFFIX%%.1.gz
+%%JAVA%%man/man3/ffi%%SUFFIX%%.3.gz
+%%JAVA%%man/man3/ffi_call%%SUFFIX%%.3.gz
+%%JAVA%%man/man3/ffi_prep_cif%%SUFFIX%%.3.gz
%%JAVA%%share/java/libgcj-%%GCC_VERSION%%.jar
%%JAVA%%share/java/libgcj-tools-%%GCC_VERSION%%.jar
@exec if type ccache-update-links >/dev/null 2>&1; then ccache-update-links -v; fi