aboutsummaryrefslogtreecommitdiff
path: root/lang/gcc41
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2004-11-05 19:53:25 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2004-11-05 19:53:25 +0000
commite4cd19415fd53d4ab734c3bf5658aeac08ce5bd5 (patch)
tree71f8ceb82371cd81ec76d85bb29b11ce20041729 /lang/gcc41
parent6ee371136c4209db63927f6ced69c2dab08b3072 (diff)
downloadports-e4cd19415fd53d4ab734c3bf5658aeac08ce5bd5.tar.gz
ports-e4cd19415fd53d4ab734c3bf5658aeac08ce5bd5.zip
Notes
Diffstat (limited to 'lang/gcc41')
-rw-r--r--lang/gcc41/Makefile18
1 files changed, 13 insertions, 5 deletions
diff --git a/lang/gcc41/Makefile b/lang/gcc41/Makefile
index 16e2b8745717..f808bf3d8f34 100644
--- a/lang/gcc41/Makefile
+++ b/lang/gcc41/Makefile
@@ -6,6 +6,9 @@
# $FreeBSD$
#
+# FIXME: needed to make gcc40 port work for now.
+WITHOUT_LIBJAVA= yes
+
PORTNAME= gcc
PORTVERSION= 4.0.0
PORTREVISION= 20041024
@@ -17,9 +20,16 @@ MASTER_SITE_SUBDIR= snapshots/${VERSIONSTRING}
DISTFILES= \
gcc-core-${VERSIONSTRING}${EXTRACT_SUFX} \
gcc-g++-${VERSIONSTRING}${EXTRACT_SUFX} \
- gcc-java-${VERSIONSTRING}${EXTRACT_SUFX} \
- gcc-objc-${VERSIONSTRING}${EXTRACT_SUFX} \
gcc-testsuite-${VERSIONSTRING}${EXTRACT_SUFX}
+.if !defined(WITHOUT_OBJC)
+DISTFILES+= gcc-objc-${VERSIONSTRING}${EXTRACT_SUFX}
+.endif
+.if !defined(WITHOUT_FORTRAN)
+DISTFILES+= gcc-fortran-${VERSIONSTRING}${EXTRACT_SUFX}
+.endif
+.if !defined(WITHOUT_LIBJAVA)
+DISTFILES+= gcc-java-${VERSIONSTRING}${EXTRACT_SUFX}
+.endif
MAINTAINER?= gerald@FreeBSD.org
COMMENT?= GNU Compiler Collection 4.0
@@ -47,8 +57,6 @@ CONFIGURE_TARGET= ${ARCH}-portbld-freebsd${OSREL}
.if ${ARCH} == amd64 || ${ARCH} == ia64 || ${ARCH} == sparc64
WITHOUT_LIBJAVA= yes
.endif
-# FIXME: needed to make gcc40 port work for now.
-WITHOUT_LIBJAVA= yes
SRCDIR= ${WRKDIR}/gcc-${VERSIONSTRING}
WRKSRC= ${WRKDIR}/build
@@ -160,7 +168,7 @@ post-install: fake-manpages
cklatest:
.for SITE in ftp://gcc.gnu.org/pub/gcc/snapshots/ ftp://mirrors.rcn.net/mirrors/sources.redhat.com/gcc/snapshots/
- @-ncftpls ${SITE} | ${GREP} 'LATEST.*4\.0'
+ @-ncftpls -l ${SITE} | ${GREP} 'LATEST.*4\.0'
.endfor
.include <bsd.port.post.mk>