aboutsummaryrefslogtreecommitdiff
path: root/lang/gcc-objc/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/gcc-objc/Makefile')
-rw-r--r--lang/gcc-objc/Makefile12
1 files changed, 12 insertions, 0 deletions
diff --git a/lang/gcc-objc/Makefile b/lang/gcc-objc/Makefile
index 2bc11e0862ab..732675ab6e28 100644
--- a/lang/gcc-objc/Makefile
+++ b/lang/gcc-objc/Makefile
@@ -9,17 +9,29 @@ CATEGORIES= lang
PKGNAMESUFFIX= -objc
MAINTAINER= dinoex@FreeBSD.org
+.if defined(GNUSTEP_WITH_GCC32)
+COMMENT= GNU Compiler Collection 3.2.3 with threads and shared libs
+.else
COMMENT= GNU Compiler Collection 3.3 with threads and shared libs
+.endif
WANT_SHAREDLIBS= yes
WANT_THREADS_SUPPORT= yes
WITHOUT_LIBJAVA= yes
+.if defined(GNUSTEP_WITH_GCC32)
+MASTERDIR?= ${.CURDIR}/../gcc32
+.else
MASTERDIR?= ${.CURDIR}/../gcc33
+.endif
INSTALLS_SHLIB= yes
LDCONFIG_DIRS= %%PREFIX%%/lib ${TARGLIB}
LDFLAGS+= -L${LOCALBASE}/lib
+.if defined(GNUSTEP_WITH_GCC32)
+CONFLICTS?= gcc-3.2*
+.else
CONFLICTS?= gcc-3.3*
+.endif
.if exists(${.CURDIR}/Makefile.local)
.include "${.CURDIR}/Makefile.local"