aboutsummaryrefslogtreecommitdiffstats
path: root/lang
diff options
context:
space:
mode:
authorstefan <stefan@FreeBSD.org>2007-04-06 00:13:56 +0800
committerstefan <stefan@FreeBSD.org>2007-04-06 00:13:56 +0800
commitce005de954f2260c93953aea8b6c87cbf2ca08ce (patch)
tree154b7a60dcdb033d5f21dee91f8e5d511af3f699 /lang
parenta1a2477408ca47298d7b5befef8a6887667ecee5 (diff)
downloadfreebsd-ports-gnome-ce005de954f2260c93953aea8b6c87cbf2ca08ce.tar.gz
freebsd-ports-gnome-ce005de954f2260c93953aea8b6c87cbf2ca08ce.tar.zst
freebsd-ports-gnome-ce005de954f2260c93953aea8b6c87cbf2ca08ce.zip
Use GCC 4.1.x on AMD64 to fix compilation errors.
PR: 111021 Submitted by: maintainer
Diffstat (limited to 'lang')
-rw-r--r--lang/gdc/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/lang/gdc/Makefile b/lang/gdc/Makefile
index f84f940282b5..a18b4c655aa6 100644
--- a/lang/gdc/Makefile
+++ b/lang/gdc/Makefile
@@ -7,6 +7,7 @@
PORTNAME= gdc
PORTVERSION= 0.23
+PORTREVISION= 1
CATEGORIES= lang
MASTER_SITES= ${MASTER_SITE_GCC} \
${MASTER_SITE_SOURCEFORGE:S/%SUBDIR%/dgcc/g:S/$/:gdc/g}
@@ -53,7 +54,7 @@ IGNORE= it is supported on FreeBSD 5.x and later
.endif
.ifndef TARGET_GCC
-.if ${OSVERSION} >= 700000
+.if ${OSVERSION} >= 700000 || ${ARCH} == "amd64"
TARGET_GCC= 4.1
.else
TARGET_GCC= 3.4