summaryrefslogtreecommitdiffstats
path: root/Mk
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2006-03-28 19:50:51 +0000
committerdinoex <dinoex@FreeBSD.org>2006-03-28 19:50:51 +0000
commit230a776b48e56015a5e3f44c154656bf1f090bef (patch)
tree154a9f1640e816a5b140c00b8d2a853009419f88 /Mk
parentd0d9e9851235ffe90fc5842d33e6b60b7f000b45 (diff)
downloadFreeBSD-ports-230a776b48e56015a5e3f44c154656bf1f090bef.zip
FreeBSD-ports-230a776b48e56015a5e3f44c154656bf1f090bef.tar.gz
- use gcc ports directly when possible
Diffstat (limited to 'Mk')
-rw-r--r--Mk/bsd.gnustep.mk25
1 files changed, 12 insertions, 13 deletions
diff --git a/Mk/bsd.gnustep.mk b/Mk/bsd.gnustep.mk
index 90db80b..1b3c31d 100644
--- a/Mk/bsd.gnustep.mk
+++ b/Mk/bsd.gnustep.mk
@@ -80,7 +80,6 @@ RUN_DEPENDS+= ${COMBOLIBDIR}/libobjc.so:${PORTSDIR}/${GNUSTEP_OBJC_PORT}
.endif
.endif
-GNUSTEP_GCC_PORT?= lang/gcc-objc
GNUSTEP_MAKE_PORT?= devel/gnustep-make
GNUSTEP_OBJC_PORT?= lang/gnustep-objc
GNUSTEP_BASE_PORT?= lang/gnustep-base
@@ -129,30 +128,30 @@ PLIST_SUB+= MAJORLIBVERSION=${DEFAULT_LIBVERSION:C/([0-9]).*/\1/1}
GNUSTEP_WITH_GCC34= yes
.endif
.endif
+
.if defined(GNUSTEP_WITH_GCC32)
-CC= gcc32
-CXX= g++32
+GCCSUFFIX=32
+GNUSTEP_GCC_PORT?= lang/gcc-objc
.endif
.if defined(GNUSTEP_WITH_GCC33)
-CC= gcc33
-CXX= g++33
+GCCSUFFIX=33
.endif
.if defined(GNUSTEP_WITH_GCC34)
-CC= gcc34
-CXX= g++34
+GCCSUFFIX=34
.endif
.if defined(GNUSTEP_WITH_GCC40)
-CC= gcc40
-CXX= g++40
+GCCSUFFIX=40
.endif
.if defined(GNUSTEP_WITH_GCC41)
-CC= gcc41
-CXX= g++41
+GCCSUFFIX=41
.endif
.if defined(GNUSTEP_WITH_GCC42)
-CC= gcc42
-CXX= g++42
+GCCSUFFIX=42
.endif
+CC= gcc${GCCSUFFIX}
+CXX= g++${GCCSUFFIX}
+GNUSTEP_GCC_PORT?= lang/gcc${GCCSUFFIX}
+
.endif
# ---------------------------------------------------------------------------
OpenPOWER on IntegriCloud