diff options
author | Vanilla I. Shu <vanilla@FreeBSD.org> | 2014-02-04 09:15:37 +0000 |
---|---|---|
committer | Vanilla I. Shu <vanilla@FreeBSD.org> | 2014-02-04 09:15:37 +0000 |
commit | b601fd950a36c65411c55f1dc84749e71b6dc38b (patch) | |
tree | 9b83fa68865f749357671d8a9390a47de92674d6 /lang/v8 | |
parent | 3a28b40c857ce717281624e0b27423d443d74d9c (diff) |
Notes
Diffstat (limited to 'lang/v8')
-rw-r--r-- | lang/v8/Makefile | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/lang/v8/Makefile b/lang/v8/Makefile index fd129b19328d..44b93c097d9a 100644 --- a/lang/v8/Makefile +++ b/lang/v8/Makefile @@ -12,22 +12,22 @@ COMMENT= Google\'s open source JavaScript engine BUILD_DEPENDS= python:${PORTSDIR}/lang/python LIB_DEPENDS= execinfo:${PORTSDIR}/devel/libexecinfo -CONFLICTS= v8-devel-* +CONFLICTS= v8-3.24.* -USES= gmake +USES= gmake compiler USE_XZ= yes USE_PYTHON= 2 USE_LDCONFIG= yes ALL_TARGET= native MAKE_ARGS= library=shared +MAKE_ENV+= CC.host=${CC} CXX.host=${CXX} LINK.host=${CXX} LINK.target=${CXX} .include <bsd.port.pre.mk> -.if ${CC:T:Mclang} == "clang" || ${CXX:T:Mclang++} == "clang++" || ${OSVERSION} >= 1000024 -_CLANG!= clang --version | ${HEAD} -1 | ${SED} -e 's/.*clang version \([0-9]\)\.\([0-9]\).*/\1\2/' +.if ${COMPILER_TYPE} == clang MAKE_ENV+= LINK=clang++ CFLAGS+= -Wno-unused-private-field -.if ${_CLANG} >= 33 +.if ${COMPILER_VERSION} >= 33 CFLAGS+= -Wno-nested-anon-types -Wno-unused-function .endif .else |