aboutsummaryrefslogtreecommitdiffstats
path: root/lang/gcc40/Makefile
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2004-11-06 03:53:25 +0800
committerobrien <obrien@FreeBSD.org>2004-11-06 03:53:25 +0800
commitff9eae335184034eaa9f78bf8c85536c1ca7264e (patch)
treee63c15018928140501f31d13be6a7f05f771faef /lang/gcc40/Makefile
parentea94b512de7c5302abbdb240e5dba059cf302fd8 (diff)
downloadfreebsd-ports-gnome-ff9eae335184034eaa9f78bf8c85536c1ca7264e.tar.gz
freebsd-ports-gnome-ff9eae335184034eaa9f78bf8c85536c1ca7264e.tar.zst
freebsd-ports-gnome-ff9eae335184034eaa9f78bf8c85536c1ca7264e.zip
Catch the 'cklatest' target up to changes on the MASTER_SITES.
Diffstat (limited to 'lang/gcc40/Makefile')
-rw-r--r--lang/gcc40/Makefile18
1 files changed, 13 insertions, 5 deletions
diff --git a/lang/gcc40/Makefile b/lang/gcc40/Makefile
index 16e2b8745717..f808bf3d8f34 100644
--- a/lang/gcc40/Makefile
+++ b/lang/gcc40/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>