svn commit: r331947 - head/www/mod_spdy
Brooks Davis
brooks at FreeBSD.org
Tue Oct 29 13:49:29 UTC 2013
Author: brooks
Date: Tue Oct 29 13:49:29 2013
New Revision: 331947
URL: http://svnweb.freebsd.org/changeset/ports/331947
Log:
When the CLANG option is enabled and an appropraite clang is not
available use lang/clang33 rather than the deprecated lang/clang.
Approved by: Masaki TAGAWA <masaki at club.kyutech.ac.jp> (maintainer)
Modified:
head/www/mod_spdy/Makefile
Modified: head/www/mod_spdy/Makefile
==============================================================================
--- head/www/mod_spdy/Makefile Tue Oct 29 13:39:23 2013 (r331946)
+++ head/www/mod_spdy/Makefile Tue Oct 29 13:49:29 2013 (r331947)
@@ -3,6 +3,7 @@
PORTNAME= mod_spdy
PORTVERSION= 0.9.3.3
+PORTREVISION= 1
CATEGORIES= www
MASTER_SITES= http://www.club.kyutech.ac.jp/~masaki/ports/:mod_spdy \
${MASTER_SITE_APACHE_HTTPD}:apache22 \
@@ -56,11 +57,14 @@ MAKE_ENV+= COMPILER_PATH=${LOCALBASE}/bi
.endif
.if ${PORT_OPTIONS:MCLANG}
-.if ${OSVERSION} < 900033
-BUILD_DEPENDS+= clang:${PORTSDIR}/lang/clang
-.endif
+.if ${OSVERSION} < 900033 || !exists(/usr/bin/clang)
+BUILD_DEPENDS+= clang33:${PORTSDIR}/lang/clang33
+CC= clang33
+CXX= clang++33
+.else
CC= clang
CXX= clang++
+.endif
GYP_DEFINES+= clang=1
.else
USE_GCC?= yes
More information about the svn-ports-all
mailing list