From 64b142f93738fd1d4242df1afca27affad33f192 Mon Sep 17 00:00:00 2001 From: sunpoet Date: Wed, 27 Nov 2013 21:25:32 +0000 Subject: - Use USES=compiler:c++11-lib - Mark broken for FreeBSD 8.x and 9.x without libc++ --- www/aria2/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'www') diff --git a/www/aria2/Makefile b/www/aria2/Makefile index 60002b5fedb2..7b46363d1af0 100644 --- a/www/aria2/Makefile +++ b/www/aria2/Makefile @@ -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 +.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 -- cgit