diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2011-10-29 20:41:06 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2011-10-29 20:41:06 +0000 |
commit | 9bb4db40e1e750d87b5ccb2f876cea3fd84817d4 (patch) | |
tree | 5a5e73c8546b1f8ebd2d7455f08e811ece183231 /lang/libobjc2 | |
parent | - honor LDFLAGS (diff) |
- fix build for FreeBSD-9
Notes
Notes:
svn path=/head/; revision=284680
Diffstat (limited to 'lang/libobjc2')
-rw-r--r-- | lang/libobjc2/Makefile | 11 |
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) |