diff options
author | Dirk Meyer <dinoex@FreeBSD.org> | 2012-01-12 06:22:36 +0000 |
---|---|---|
committer | Dirk Meyer <dinoex@FreeBSD.org> | 2012-01-12 06:22:36 +0000 |
commit | fa7b1d21de388173f3270404a5d3fdc7498c35a0 (patch) | |
tree | f81759bc6206c529048f6aaefdf4be8272fc4cbb /lang/libobjc2 | |
parent | - update to 4.3.7 (diff) |
- add USE_GCC
Notes
Notes:
svn path=/head/; revision=289001
Diffstat (limited to 'lang/libobjc2')
-rw-r--r-- | lang/libobjc2/Makefile | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/lang/libobjc2/Makefile b/lang/libobjc2/Makefile index e9b16695c68b..e27a76e8989c 100644 --- a/lang/libobjc2/Makefile +++ b/lang/libobjc2/Makefile @@ -43,19 +43,15 @@ CPPFLAGS+= -DGNUSTEP .include <bsd.port.pre.mk> .if ${OSVERSION} >= 900000 -.if defined(CC) && ${CC} == "clang" +.if defined(CC) && ${CC:Mclang} # all done .else -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} +.if defined(GNUSTEP_WITH_CLANG) +CC= ${LOCALBASE}/bin/clang +BUILD_DEPENDS+= ${LOCALBASE}/bin/clang:${PORTSDIR}/lang/clang +.else +USE_GCC= 4.6+ +.endif .endif .endif |