diff options
author | jperkin <jperkin> | 2017-05-03 08:38:38 +0000 |
---|---|---|
committer | jperkin <jperkin> | 2017-05-03 08:38:38 +0000 |
commit | ab03b6480a3bb45a0808a732de1d4c1f6fadfa44 (patch) | |
tree | 2fa540b3172e66294abe7de0bde1aa824c38da93 /net/libtorrent | |
parent | 3b15bbce94df55b6b377685b2aa9b244c4b7b56c (diff) | |
download | pkgsrc-ab03b6480a3bb45a0808a732de1d4c1f6fadfa44.tar.gz |
Convert CXXFLAGS setting C++ standard to USE_LANGUAGES.
Diffstat (limited to 'net/libtorrent')
-rw-r--r-- | net/libtorrent/Makefile | 8 |
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" |