aboutsummaryrefslogtreecommitdiff
path: root/lang/libobjc2
diff options
context:
space:
mode:
authorDirk Meyer <dinoex@FreeBSD.org>2011-10-29 20:41:06 +0000
committerDirk Meyer <dinoex@FreeBSD.org>2011-10-29 20:41:06 +0000
commit9bb4db40e1e750d87b5ccb2f876cea3fd84817d4 (patch)
tree5a5e73c8546b1f8ebd2d7455f08e811ece183231 /lang/libobjc2
parenta41cd833bddfd6d5440ae8a0412ae375374e36a4 (diff)
downloadports-9bb4db40e1e750d87b5ccb2f876cea3fd84817d4.tar.gz
ports-9bb4db40e1e750d87b5ccb2f876cea3fd84817d4.zip
Notes
Diffstat (limited to 'lang/libobjc2')
-rw-r--r--lang/libobjc2/Makefile11
1 files changed, 10 insertions, 1 deletions
diff --git a/lang/libobjc2/Makefile b/lang/libobjc2/Makefile
index 64980871feda..b39349f67722 100644
--- a/lang/libobjc2/Makefile
+++ b/lang/libobjc2/Makefile
@@ -43,7 +43,16 @@ CPPFLAGS+= -DGNUSTEP
.include <bsd.port.pre.mk>
.if ${OSVERSION} >= 900000
-BROKEN= does not compile on 9.X
+V:= 42
+_GCC_BUILD_DEPENDS:= gcc${V}
+_GCC_PORT_DEPENDS:= gcc${V}
+CC:= gcc${V}
+CXX:= g++${V}
+CPP:= cpp${V}
+LDFLAGS+= -rpath=${LOCALBASE}/lib/${_GCC_BUILD_DEPENDS}
+LDFLAGS+= -L${LOCALBASE}/lib/${_GCC_BUILD_DEPENDS}
+BUILD_DEPENDS+= ${_GCC_PORT_DEPENDS}:${PORTSDIR}/lang/${_GCC_BUILD_DEPENDS}
+RUN_DEPENDS+= ${_GCC_PORT_DEPENDS}:${PORTSDIR}/lang/${_GCC_BUILD_DEPENDS}
.endif
.if (${ARCH} == i386) || (${ARCH} == i486)