Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Nov 2013 21:25:32 +0000 (UTC)
From:      Sunpoet Po-Chuan Hsieh <sunpoet@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r335062 - head/www/aria2
Message-ID:  <201311272125.rARLPWsj046193@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: sunpoet
Date: Wed Nov 27 21:25:32 2013
New Revision: 335062
URL: http://svnweb.freebsd.org/changeset/ports/335062

Log:
  - Use USES=compiler:c++11-lib
  - Mark broken for FreeBSD 8.x and 9.x without libc++

Modified:
  head/www/aria2/Makefile

Modified: head/www/aria2/Makefile
==============================================================================
--- head/www/aria2/Makefile	Wed Nov 27 20:53:21 2013	(r335061)
+++ head/www/aria2/Makefile	Wed Nov 27 21:25:32 2013	(r335062)
@@ -30,7 +30,7 @@ USE_CXXSTD=	c++11
 USE_GNOME=	libxml2
 USE_OPENSSL=	yes
 USE_XZ=		yes
-USES=		compiler:c++11-lang pathfix pkgconfig
+USES=		compiler:c++11-lib pathfix pkgconfig
 
 CA_BUNDLE_CONFIGURE_OFF=--without-ca-bundle
 CA_BUNDLE_CONFIGURE_ON=	--with-ca-bundle=${LOCALBASE}/share/certs/ca-root-nss.crt
@@ -46,6 +46,10 @@ ARIA2_DISK_CACHE?=	16M
 
 .include <bsd.port.pre.mk>
 
+.if ${OSVERSION} < 1000500 && !exists(/usr/lib/libc++.so)
+BROKEN=		Build with clang and libc++ only
+.endif
+
 .if ${ARCH} == "powerpc" && ${OSVERSION} > 900000
 BROKEN=		Does not install on powerpc-9
 .endif



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