aboutsummaryrefslogtreecommitdiff
path: root/www/mod_spdy
diff options
context:
space:
mode:
authorBrooks Davis <brooks@FreeBSD.org>2013-10-29 13:49:29 +0000
committerBrooks Davis <brooks@FreeBSD.org>2013-10-29 13:49:29 +0000
commit73c32978b58dd7b8be86c1dff866e5b5ed859ddb (patch)
treedb1f2ea4e49878aad68604162afb91bc76827a00 /www/mod_spdy
parentc5a9f0e406da9d2f40d5c8b46269373ed926a057 (diff)
downloadports-73c32978b58dd7b8be86c1dff866e5b5ed859ddb.tar.gz
ports-73c32978b58dd7b8be86c1dff866e5b5ed859ddb.zip
Notes
Diffstat (limited to 'www/mod_spdy')
-rw-r--r--www/mod_spdy/Makefile10
1 files changed, 7 insertions, 3 deletions
diff --git a/www/mod_spdy/Makefile b/www/mod_spdy/Makefile
index 4f45b57db260..e8006807a8c2 100644
--- a/www/mod_spdy/Makefile
+++ b/www/mod_spdy/Makefile
@@ -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}/bin
.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