Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 29 Oct 2013 13:49:29 +0000 (UTC)
From:      Brooks Davis <brooks@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r331947 - head/www/mod_spdy
Message-ID:  <201310291349.r9TDnTxk082844@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
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@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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201310291349.r9TDnTxk082844>