diff options
author | jperkin <jperkin@pkgsrc.org> | 2017-05-03 08:38:38 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2017-05-03 08:38:38 +0000 |
commit | 5b99812dcc356c047deb6541432c2003597d6d78 (patch) | |
tree | 34b2442bcf322c038d08c6a15224a11fa82a1de2 /net/rtorrent | |
parent | 3976212695feabbd27bb2ec036df7e0bddfd4c70 (diff) | |
download | pkgsrc-5b99812dcc356c047deb6541432c2003597d6d78.tar.gz |
Convert CXXFLAGS setting C++ standard to USE_LANGUAGES.
Diffstat (limited to 'net/rtorrent')
-rw-r--r-- | net/rtorrent/Makefile | 8 |
1 files changed, 2 insertions, 6 deletions
diff --git a/net/rtorrent/Makefile b/net/rtorrent/Makefile index 43de650489d..73c875a14c7 100644 --- a/net/rtorrent/Makefile +++ b/net/rtorrent/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.65 2017/04/30 01:21:57 ryoon Exp $ +# $NetBSD: Makefile,v 1.66 2017/05/03 08:38:44 jperkin Exp $ DISTNAME= rtorrent-0.9.6 PKGREVISION= 4 @@ -10,7 +10,7 @@ HOMEPAGE= http://rakshasa.github.io/rtorrent/ COMMENT= Ncurses based torrent client with support for sessions LICENSE= gnu-gpl-v2 -USE_LANGUAGES= c c++ +USE_LANGUAGES= c c++11 USE_LIBTOOL= yes USE_NCURSES= yes # chgat USE_TOOLS+= gmake pkg-config @@ -42,10 +42,6 @@ CXXFLAGS+= -fpermissive -fno-strength-reduce -fno-thread-jumps \ CXXFLAGS+= -march=i486 .endif -.if !empty(PKGSRC_COMPILER:Mclang) -CXXFLAGS+= -std=c++11 -.endif - INSTALLATION_DIRS= share/examples/rtorrent post-install: |