From 9bb4db40e1e750d87b5ccb2f876cea3fd84817d4 Mon Sep 17 00:00:00 2001 From: Dirk Meyer Date: Sat, 29 Oct 2011 20:41:06 +0000 Subject: - fix build for FreeBSD-9 --- lang/libobjc2/Makefile | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) (limited to 'lang/libobjc2/Makefile') 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 .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) -- cgit v1.2.3