Date: Fri, 2 Aug 2013 08:29:23 +0000 (UTC) From: Rene Ladan <rene@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r324153 - head/www/chromium Message-ID: <201308020829.r728TNIi048361@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: rene Date: Fri Aug 2 08:29:23 2013 New Revision: 324153 URL: http://svnweb.freebsd.org/changeset/ports/324153 Log: Properly detect and use clang from ports on FreeBSD < 9.2. Bump PORTREVISION Modified: head/www/chromium/Makefile Modified: head/www/chromium/Makefile ============================================================================== --- head/www/chromium/Makefile Fri Aug 2 08:19:28 2013 (r324152) +++ head/www/chromium/Makefile Fri Aug 2 08:29:23 2013 (r324153) @@ -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+
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308020829.r728TNIi048361>