diff options
author | rene <rene@FreeBSD.org> | 2013-08-02 08:29:23 +0000 |
---|---|---|
committer | rene <rene@FreeBSD.org> | 2013-08-02 08:29:23 +0000 |
commit | 8bfa8d86c6955568a33b47bf7ff9f1ec9a9ee0e6 (patch) | |
tree | 633e797ed06a1375aeae04e43fb96ef44e34a435 | |
parent | 56ae4f9d9e393c90f3c0e4a8726635098a202a85 (diff) | |
download | FreeBSD-ports-8bfa8d86c6955568a33b47bf7ff9f1ec9a9ee0e6.zip FreeBSD-ports-8bfa8d86c6955568a33b47bf7ff9f1ec9a9ee0e6.tar.gz |
Properly detect and use clang from ports on FreeBSD < 9.2.
Bump PORTREVISION
-rw-r--r-- | www/chromium/Makefile | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/www/chromium/Makefile b/www/chromium/Makefile index bea45f7..a512824 100644 --- a/www/chromium/Makefile +++ b/www/chromium/Makefile @@ -6,7 +6,7 @@ PORTNAME= chromium DISTVERSIONPREFIX= courgette-redacted- DISTVERSION= 28.0.1500.71 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= www MASTER_SITES= http://download.goodking.org/downloads/ \ ftp://rene-ladan.nl/pub/distfiles/ \ @@ -130,10 +130,13 @@ GYP_DEFINES+= disable_sse2=1 .if ${PORT_OPTIONS:MCLANG} .if ${OSVERSION} < 902000 -BUILD_DEPENDS+= clang:${PORTSDIR}/lang/clang -.endif +BUILD_DEPENDS+= ${LOCALBASE}/bin/clang:${PORTSDIR}/lang/clang +CC= ${LOCALBASE}/bin/clang +CXX= ${LOCALBASE}/bin/clang++ +.else CC= clang CXX= clang++ +.endif GYP_DEFINES+= clang=1 .else USE_GCC?= 4.6+ |