summaryrefslogtreecommitdiff
path: root/net/libtorrent
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2017-05-03 08:38:38 +0000
committerjperkin <jperkin@pkgsrc.org>2017-05-03 08:38:38 +0000
commit5b99812dcc356c047deb6541432c2003597d6d78 (patch)
tree34b2442bcf322c038d08c6a15224a11fa82a1de2 /net/libtorrent
parent3976212695feabbd27bb2ec036df7e0bddfd4c70 (diff)
downloadpkgsrc-5b99812dcc356c047deb6541432c2003597d6d78.tar.gz
Convert CXXFLAGS setting C++ standard to USE_LANGUAGES.
Diffstat (limited to 'net/libtorrent')
-rw-r--r--net/libtorrent/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/net/libtorrent/Makefile b/net/libtorrent/Makefile
index 352e9420c96..e4bc807e034 100644
--- a/net/libtorrent/Makefile
+++ b/net/libtorrent/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.56 2016/06/27 19:16:02 maya Exp $
+# $NetBSD: Makefile,v 1.57 2017/05/03 08:38:44 jperkin Exp $
DISTNAME= libtorrent-0.13.6
PKGREVISION= 1
@@ -10,7 +10,7 @@ HOMEPAGE= http://rakshasa.github.io/rtorrent/
COMMENT= BitTorrent library written in C++ for *nix
LICENSE= gnu-gpl-v2
-USE_LANGUAGES= c c++
+USE_LANGUAGES= c c++11
USE_LIBTOOL= yes
USE_TOOLS+= gmake pkg-config
GNU_CONFIGURE= yes
@@ -58,10 +58,6 @@ CONFIGURE_ENV+= OPENSSL_CFLAGS=${OPENSSL_CFLAGS:Q}
CONFIGURE_ENV+= OPENSSL_LIBS=${OPENSSL_LIBS:Q}
.endif
-.if !empty(PKGSRC_COMPILER:Mclang)
-CXXFLAGS+= -std=c++11
-.endif
-
.include "../../devel/zlib/buildlink3.mk"
.include "../../devel/libsigc++/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"