aboutsummaryrefslogtreecommitdiffstats
path: root/Mk/bsd.port.mk
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2001-09-23 08:33:58 +0800
committerobrien <obrien@FreeBSD.org>2001-09-23 08:33:58 +0800
commit916067941afd012ed84dd9a801e20cfe4fee7490 (patch)
treebff4cae62903a0d9432b6590bb7e60862d4b715f /Mk/bsd.port.mk
parent54f170cce95f1129327c8c3e0b03d9c4768a9c3f (diff)
downloadfreebsd-ports-gnome-916067941afd012ed84dd9a801e20cfe4fee7490.tar.gz
freebsd-ports-gnome-916067941afd012ed84dd9a801e20cfe4fee7490.tar.zst
freebsd-ports-gnome-916067941afd012ed84dd9a801e20cfe4fee7490.zip
Change "USE_NEWGCC" to "USE_GCC295" and add "USE_GCC30" for soon future use.
Approved by: portmgr
Diffstat (limited to 'Mk/bsd.port.mk')
-rw-r--r--Mk/bsd.port.mk12
1 files changed, 10 insertions, 2 deletions
diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk
index 729fff0d800f..bc4d4e575b63 100644
--- a/Mk/bsd.port.mk
+++ b/Mk/bsd.port.mk
@@ -133,7 +133,9 @@ FreeBSD_MAINTAINER= portmgr@FreeBSD.org
# compression.
# USE_ZIP - Says that the port distfile uses zip, not tar w/[bg]zip
# for compression.
-# USE_NEWGCC - Says that the port requirest the latest gcc, either in
+# USE_GCC295 - Says that the port requirest this version of gcc, either in
+# the system or installed from a port.
+# USE_GCC30 - Says that the port requirest this version of gcc, either in
# the system or installed from a port.
# USE_GMAKE - Says that the port uses gmake.
# GMAKE - Set to path of GNU make if not in $PATH (default: gmake).
@@ -801,12 +803,18 @@ LIBTOOLFILES?= configure
.endif
LIBTOOLFLAGS?= --disable-ltlibs
.endif
-.if defined(USE_NEWGCC) && ${OSVERSION} < 400012
+.if defined(USE_GCC295) && ${OSVERSION} < 400012
CC= gcc295
CXX= g++295
BUILD_DEPENDS+= gcc295:${PORTSDIR}/lang/gcc295
MAKE_ENV+= CC=${CC} CXX=${CXX}
.endif
+.if defined(USE_GCC30) && ${OSVERSION} < 500999
+CC= gcc30
+CXX= g++30
+BUILD_DEPENDS+= gcc30:${PORTSDIR}/lang/gcc30
+MAKE_ENV+= CC=${CC} CXX=${CXX}
+.endif
.if defined(USE_LINUX)
RUN_DEPENDS+= ${LINUXBASE}/etc/redhat-release:${PORTSDIR}/emulators/linux_base