Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 23 Oct 2015 15:23:36 +0000 (UTC)
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r400029 - head/www/mod_spdy
Message-ID:  <201510231523.t9NFNacr014968@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: danfe
Date: Fri Oct 23 15:23:36 2015
New Revision: 400029
URL: https://svnweb.freebsd.org/changeset/ports/400029

Log:
  - Suppress warnings about unused local typedefs for Clang 3.6.0 and higher
  - Convert explicit dependency on `devel/libexecinfo' to USES=execinfo
  - Wrap one overly long line while I'm here
  
  PR:		198112
  Submitted by:	dim

Modified:
  head/www/mod_spdy/Makefile

Modified: head/www/mod_spdy/Makefile
==============================================================================
--- head/www/mod_spdy/Makefile	Fri Oct 23 14:44:56 2015	(r400028)
+++ head/www/mod_spdy/Makefile	Fri Oct 23 15:23:36 2015	(r400029)
@@ -27,7 +27,7 @@ BUILD_DEPENDS=	python:${PORTSDIR}/lang/p
 ONLY_FOR_ARCHS=	amd64 i386
 USE_OPENSSL=	yes
 USE_APACHE=	22
-USES=		gmake python:2 tar:xz
+USES=		compiler execinfo gmake python:2 tar:xz
 REINPLACE_ARGS=	-i ""
 
 WRKSRC=		${WRKDIR}/${PORTNAME}_source_${PORTVERSION}/mod_spdy/src
@@ -65,10 +65,6 @@ CXX=		clang++
 GYP_DEFINES+=	clang=1
 .endif
 
-.if ${OSVERSION} < 1000052
-LIB_DEPENDS+=	libexecinfo.so:${PORTSDIR}/devel/libexecinfo
-.endif
-
 .if ${PORT_OPTIONS:MDEBUG}
 MAKE_ENV+=	V=1
 BUILDTYPE=	Debug
@@ -90,6 +86,10 @@ MAKE_ENV+=	BUILDTYPE=${BUILDTYPE}
 
 .include <bsd.port.pre.mk>
 
+.if ${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 36
+CXXFLAGS+=	-Wno-unused-local-typedef
+.endif
+
 post-extract:
 	@${MKDIR} ${WRKSRC}/temp/progress
 	@${CP} ${DISTDIR}/${DIST_SUBDIR}/httpd-2.2.22.tar.gz ${WRKSRC}/temp/ && \
@@ -123,8 +123,8 @@ do-configure:
 		../../depot_tools/gclient.py runhooks
 
 pre-build:
-	cd ${WRKSRC} && CONFIGURE_ENV='${CONFIGURE_ENV}' BUILDROOT=${WRKSRC}/temp \
-		${WRKSRC}/build_modssl_with_npn.sh
+	cd ${WRKSRC} && CONFIGURE_ENV='${CONFIGURE_ENV}' \
+		BUILDROOT=${WRKSRC}/temp ${WRKSRC}/build_modssl_with_npn.sh
 
 do-install:
 	${MKDIR} ${STAGEDIR}/${PREFIX}/${APACHEMODDIR} \



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