pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc Convert CXXFLAGS setting C++ standard to USE_LANGUAGES.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d6adba482c99
branches:  trunk
changeset: 362029:d6adba482c99
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Wed May 03 08:38:38 2017 +0000

description:
Convert CXXFLAGS setting C++ standard to USE_LANGUAGES.

diffstat:

 audio/bmpx/Makefile                    |   5 ++---
 audio/paman/Makefile                   |   6 ++----
 audio/paprefs/Makefile                 |   6 ++----
 audio/pavucontrol/Makefile             |   6 ++----
 audio/pavumeter/Makefile               |   6 ++----
 audio/taglib/Makefile                  |   5 ++---
 cad/kicad/Makefile                     |   5 ++---
 cad/librecad/Makefile                  |   5 ++---
 chat/swift/Makefile                    |   6 ++----
 converters/libetonyek/Makefile         |   7 ++-----
 databases/mysql-workbench/Makefile     |   9 ++-------
 databases/soci/Makefile                |   8 ++------
 databases/sqlrelay-nodejs/Makefile     |   6 +++---
 devel/aegis/Makefile                   |  10 ++--------
 devel/atkmm/Makefile                   |   6 ++----
 devel/boost-jam/bjam.mk                |  13 ++++++-------
 devel/cppcheck/Makefile                |   7 ++-----
 devel/cre2/Makefile                    |   4 +---
 devel/creduce/Makefile                 |   8 ++------
 devel/cssc/Makefile                    |   9 ++-------
 devel/gconfmm/Makefile                 |   5 ++---
 devel/glibmm/Makefile                  |   5 ++---
 devel/google-glog/Makefile             |   9 ++-------
 devel/googletest/Makefile              |   5 ++---
 devel/libglademm/Makefile              |   5 ++---
 devel/libgnomemm/Makefile              |   5 ++---
 devel/libgnomeuimm/Makefile            |   5 ++---
 devel/libsexymm/Makefile               |   5 ++---
 devel/libsigc++/Makefile               |   5 ++---
 devel/libthrift/Makefile               |   7 +++----
 devel/libview/Makefile                 |   5 ++---
 devel/open-vcdiff/Makefile             |   6 +++---
 devel/pangomm/Makefile                 |   6 ++----
 devel/woboq_codebrowser/Makefile       |   8 ++------
 editors/Sigil/Makefile                 |  11 ++---------
 editors/codeblocks/Makefile            |   9 ++-------
 editors/gobby/Makefile                 |   6 ++----
 editors/mlview/Makefile                |   6 ++----
 editors/obby/Makefile                  |   6 ++----
 emulators/emulationstation/Makefile    |   9 ++-------
 fonts/lcdftypetools/Makefile           |   6 ++----
 games/ccgo/Makefile                    |   8 ++------
 games/pingus/Makefile                  |  12 +++---------
 games/wesnoth/Makefile                 |   9 ++-------
 geography/merkaartor/Makefile          |  10 ++--------
 graphics/blender/Makefile              |   5 ++---
 graphics/exiv2-organize/Makefile       |  13 ++-----------
 graphics/gimmage/Makefile              |   5 ++---
 graphics/goocanvasmm/Makefile          |   5 ++---
 graphics/inkscape/Makefile             |   5 ++---
 graphics/lepton/Makefile               |  10 ++--------
 graphics/libgnomecanvasmm/Makefile     |   5 ++---
 graphics/opencv-contrib-face/Makefile  |   9 ++-------
 graphics/opencv/Makefile               |   9 ++-------
 graphics/opencv2/Makefile              |   9 ++-------
 ham/fldigi/Makefile                    |   6 +++---
 lang/clang/Makefile.common             |   8 ++------
 lang/libLLVM/Makefile                  |   8 ++------
 lang/llvm/Makefile                     |   8 ++------
 misc/gelemental/Makefile               |   5 ++---
 misc/libreoffice/Makefile              |   6 +++---
 misc/rocs/Makefile                     |   9 +++------
 multimedia/gnash/Makefile              |   9 ++-------
 multimedia/libvpx/Makefile             |   6 ++----
 multimedia/subtitleeditor/Makefile     |   6 ++----
 net/cclive/Makefile                    |  10 ++--------
 net/ekiga/Makefile                     |   5 ++---
 net/libtorrent/Makefile                |   8 ++------
 net/net6/Makefile                      |   5 ++---
 net/powerdns-recursor/Makefile         |   6 +++---
 net/rtorrent/Makefile                  |   8 ++------
 net/synergy/Makefile                   |   8 ++++----
 net/zeromq/Makefile                    |  14 +++-----------
 print/xetex/Makefile                   |   5 ++---
 security/ecap_clamav_adapter/Makefile  |   6 ++----
 sysutils/gcdmaster/Makefile            |   5 ++---
 sysutils/gnome-system-monitor/Makefile |   5 ++---
 sysutils/gnome-vfsmm/Makefile          |   5 ++---
 sysutils/mate-system-monitor/Makefile  |   5 ++---
 sysutils/open-vm-tools/Makefile        |   5 ++---
 sysutils/strigi/Makefile               |   6 ++----
 textproc/FlightCrew/Makefile           |  14 ++------------
 textproc/php-intl/Makefile             |   5 ++---
 www/cppcms/Makefile                    |  11 ++---------
 www/libecap/Makefile                   |   6 ++----
 www/squid3/options.mk                  |   4 ++--
 www/webkit-gtk/Makefile                |   6 +++---
 www/webkit24-gtk/Makefile.common       |   6 +++---
 www/yahttp/Makefile                    |   9 ++-------
 x11/gtkmm-utils/Makefile               |   5 ++---
 x11/gtkmm/Makefile                     |   5 ++---
 x11/gtkmm3/Makefile                    |   5 ++---
 x11/gtksourceviewmm/Makefile           |   5 ++---
 x11/qt4-libs/Makefile                  |   6 ++++--
 x11/qt5-qtbase/Makefile.common         |   5 ++---
 95 files changed, 208 insertions(+), 446 deletions(-)

diffs (truncated from 2346 to 300 lines):

diff -r 7ac2aef81b6d -r d6adba482c99 audio/bmpx/Makefile
--- a/audio/bmpx/Makefile       Wed May 03 08:34:23 2017 +0000
+++ b/audio/bmpx/Makefile       Wed May 03 08:38:38 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.87 2017/04/30 01:21:27 ryoon Exp $
+# $NetBSD: Makefile,v 1.88 2017/05/03 08:38:38 jperkin Exp $
 
 DISTNAME=      bmpx-0.40.14
 PKGREVISION=   60
@@ -11,7 +11,7 @@
 COMMENT=       Audio player to be used with a frontend or as a daemon
 
 GNU_CONFIGURE=         yes
-USE_LANGUAGES=         c c++
+USE_LANGUAGES=         c c++11
 USE_TOOLS+=            gmake intltool msgfmt pkg-config zip
 USE_LIBTOOL=           yes
 USE_PKGLOCALEDIR=      yes
@@ -23,7 +23,6 @@
 CHECK_WRKREF_SKIP+=    libexec/beep-media-player-2-bin
 
 GCC_REQD+=     4.8
-CXXFLAGS+=     -std=c++11
 
 .include "../../mk/bsd.fast.prefs.mk"
 .if ${OPSYS} == "Linux"
diff -r 7ac2aef81b6d -r d6adba482c99 audio/paman/Makefile
--- a/audio/paman/Makefile      Wed May 03 08:34:23 2017 +0000
+++ b/audio/paman/Makefile      Wed May 03 08:38:38 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.43 2017/02/12 06:25:04 ryoon Exp $
+# $NetBSD: Makefile,v 1.44 2017/05/03 08:38:38 jperkin Exp $
 #
 
 DISTNAME=      paman-0.9.4
@@ -12,13 +12,11 @@
 LICENSE=       gnu-gpl-v2
 
 GNU_CONFIGURE= yes
-USE_LANGUAGES= c c++
+USE_LANGUAGES= c c++11
 USE_TOOLS+=    pkg-config gmake
 
 CONFIGURE_ARGS+=       --disable-lynx
 
-CXXFLAGS+=             -std=c++11
-
 .include "../../audio/pulseaudio/buildlink3.mk"
 .include "../../devel/glibmm/buildlink3.mk"
 .include "../../devel/libglademm/buildlink3.mk"
diff -r 7ac2aef81b6d -r d6adba482c99 audio/paprefs/Makefile
--- a/audio/paprefs/Makefile    Wed May 03 08:34:23 2017 +0000
+++ b/audio/paprefs/Makefile    Wed May 03 08:38:38 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.50 2017/02/12 06:25:04 ryoon Exp $
+# $NetBSD: Makefile,v 1.51 2017/05/03 08:38:38 jperkin Exp $
 #
 
 DISTNAME=      paprefs-0.9.10
@@ -12,13 +12,11 @@
 LICENSE=       gnu-gpl-v2
 
 GNU_CONFIGURE= yes
-USE_LANGUAGES= c c++
+USE_LANGUAGES= c c++11
 USE_TOOLS+=    pkg-config gmake intltool perl msgfmt
 
 CONFIGURE_ARGS+=       --disable-lynx
 
-CXXFLAGS+=             -std=c++11
-
 .include "../../audio/pulseaudio/buildlink3.mk"
 .include "../../converters/libiconv/buildlink3.mk"
 .include "../../devel/gconfmm/buildlink3.mk"
diff -r 7ac2aef81b6d -r d6adba482c99 audio/pavucontrol/Makefile
--- a/audio/pavucontrol/Makefile        Wed May 03 08:34:23 2017 +0000
+++ b/audio/pavucontrol/Makefile        Wed May 03 08:38:38 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.50 2017/02/12 06:25:04 ryoon Exp $
+# $NetBSD: Makefile,v 1.51 2017/05/03 08:38:39 jperkin Exp $
 #
 
 DISTNAME=      pavucontrol-3.0
@@ -13,13 +13,11 @@
 LICENSE=       gnu-gpl-v2
 
 GNU_CONFIGURE= yes
-USE_LANGUAGES= c c++
+USE_LANGUAGES= c c++11
 USE_TOOLS+=    pkg-config gmake intltool perl msgfmt
 
 CONFIGURE_ARGS+=       --disable-lynx
 
-CXXFLAGS+=             -std=c++11
-
 .include "../../audio/libcanberra/buildlink3.mk"
 .include "../../audio/pulseaudio/buildlink3.mk"
 .include "../../converters/libiconv/buildlink3.mk"
diff -r 7ac2aef81b6d -r d6adba482c99 audio/pavumeter/Makefile
--- a/audio/pavumeter/Makefile  Wed May 03 08:34:23 2017 +0000
+++ b/audio/pavumeter/Makefile  Wed May 03 08:38:38 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.48 2017/02/12 06:25:05 ryoon Exp $
+# $NetBSD: Makefile,v 1.49 2017/05/03 08:38:39 jperkin Exp $
 #
 
 DISTNAME=      pavumeter-0.9.3
@@ -12,13 +12,11 @@
 LICENSE=       gnu-gpl-v2
 
 GNU_CONFIGURE= yes
-USE_LANGUAGES= c c++
+USE_LANGUAGES= c c++11
 USE_TOOLS+=    pkg-config gmake intltool perl
 
 CONFIGURE_ARGS+=       --disable-lynx
 
-CXXFLAGS+=             -std=c++11
-
 .include "../../audio/libcanberra/buildlink3.mk"
 .include "../../audio/pulseaudio/buildlink3.mk"
 .include "../../converters/libiconv/buildlink3.mk"
diff -r 7ac2aef81b6d -r d6adba482c99 audio/taglib/Makefile
--- a/audio/taglib/Makefile     Wed May 03 08:34:23 2017 +0000
+++ b/audio/taglib/Makefile     Wed May 03 08:38:38 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.38 2016/11/04 14:03:14 maya Exp $
+# $NetBSD: Makefile,v 1.39 2017/05/03 08:38:39 jperkin Exp $
 
 DISTNAME=      taglib-1.11.1
 CATEGORIES=    audio
@@ -9,8 +9,7 @@
 COMMENT=       Library for accessing id tags in various media files
 LICENSE=       gnu-lgpl-v2.1 OR mpl-1.1
 
-USE_LANGUAGES= c c++
-CXXFLAGS+=     -std=c++11
+USE_LANGUAGES= c c++11
 GCC_REQD+=     4.7
 
 USE_CMAKE=             YES
diff -r 7ac2aef81b6d -r d6adba482c99 cad/kicad/Makefile
--- a/cad/kicad/Makefile        Wed May 03 08:34:23 2017 +0000
+++ b/cad/kicad/Makefile        Wed May 03 08:38:38 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.18 2017/04/30 01:21:28 ryoon Exp $
+# $NetBSD: Makefile,v 1.19 2017/05/03 08:38:39 jperkin Exp $
 #
 
 V=             4.0.4
@@ -14,7 +14,7 @@
 LICENSE=       gnu-gpl-v2
 
 USE_PKGLOCALEDIR=      yes
-USE_LANGUAGES=         c c++
+USE_LANGUAGES=         c c++11
 USE_CMAKE=             yes
 
 CMAKE_ARGS+=           -DKICAD_REPO_NAME=stable -DKICAD_BUILD_VERSION=${V}
@@ -53,7 +53,6 @@
 .if !empty(PKGSRC_COMPILER:Mclang)
 CXXFLAGS+=     -Wno-error=non-pod-varargs
 .endif
-CXXFLAGS+=     -std=c++11
 
 .include "../../devel/swig/buildlink3.mk"
 .include "../../devel/boost-libs/buildlink3.mk"
diff -r 7ac2aef81b6d -r d6adba482c99 cad/librecad/Makefile
--- a/cad/librecad/Makefile     Wed May 03 08:34:23 2017 +0000
+++ b/cad/librecad/Makefile     Wed May 03 08:38:38 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.38 2017/04/30 01:21:28 ryoon Exp $
+# $NetBSD: Makefile,v 1.39 2017/05/03 08:38:39 jperkin Exp $
 #
 
 DISTNAME=      LibreCAD-2.1.3
@@ -14,11 +14,10 @@
 
 EXTRACT_USING= bsdtar
 
-USE_LANGUAGES= c c++
+USE_LANGUAGES= c c++11
 USE_TOOLS+=    pax pkg-config
 USE_LIBTOOL=   yes
 
-# package uses -std=c++11 flag
 GCC_REQD+=     4.7
 
 SUBST_CLASSES+=                qtdir
diff -r 7ac2aef81b6d -r d6adba482c99 chat/swift/Makefile
--- a/chat/swift/Makefile       Wed May 03 08:34:23 2017 +0000
+++ b/chat/swift/Makefile       Wed May 03 08:38:38 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.23 2017/04/30 01:21:29 ryoon Exp $
+# $NetBSD: Makefile,v 1.24 2017/05/03 08:38:39 jperkin Exp $
 
 DISTNAME=      swift-3.0
 PKGREVISION=   12
@@ -12,11 +12,9 @@
 
 DEPENDS+=      scons>=1.3:../../devel/scons
 
-USE_LANGUAGES= c c++
+USE_LANGUAGES= c c++11
 USE_TOOLS+=    pkg-config
 
-CXXFLAGS+=     -std=c++11
-
 INSTALLATION_DIRS=     ${PKGMANDIR}/man1
 
 SUBST_CLASSES+=                path
diff -r 7ac2aef81b6d -r d6adba482c99 converters/libetonyek/Makefile
--- a/converters/libetonyek/Makefile    Wed May 03 08:34:23 2017 +0000
+++ b/converters/libetonyek/Makefile    Wed May 03 08:38:38 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.14 2017/04/30 01:21:20 ryoon Exp $
+# $NetBSD: Makefile,v 1.15 2017/05/03 08:38:39 jperkin Exp $
 
 DISTNAME=      libetonyek-0.1.6
 PKGREVISION=   3
@@ -16,10 +16,7 @@
 GNU_CONFIGURE= yes
 USE_LIBTOOL=   yes
 USE_TOOLS+=    gmake pkg-config
-USE_LANGUAGES= c c++
-
-# Boost qi.hpp
-CXXFLAGS+=     -std=c++0x
+USE_LANGUAGES= c c++0x
 
 CONFIGURE_ARGS+=       --disable-tests
 CONFIGURE_ARGS+=       --without-docs
diff -r 7ac2aef81b6d -r d6adba482c99 databases/mysql-workbench/Makefile
--- a/databases/mysql-workbench/Makefile        Wed May 03 08:34:23 2017 +0000
+++ b/databases/mysql-workbench/Makefile        Wed May 03 08:38:38 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.56 2017/04/22 21:03:27 adam Exp $
+# $NetBSD: Makefile,v 1.57 2017/05/03 08:38:39 jperkin Exp $
 
 DISTNAME=      mysql-workbench-gpl-5.2.33b-src
 PKGNAME=       ${DISTNAME:S/-gpl//:S/b-src$//}
@@ -13,7 +13,7 @@
 
 WRKSRC=                ${WRKDIR}/${DISTNAME:S/b-src$/-src/}
 
-USE_LANGUAGES=         c c++
+USE_LANGUAGES=         c c++11
 USE_LIBTOOL=           yes
 USE_TOOLS+=            bash gmake pkg-config
 GNU_CONFIGURE=         yes
@@ -51,11 +51,6 @@
 .include "../../graphics/MesaLib/buildlink3.mk"
 .endif
 
-.include "../../mk/compiler.mk"
-.if !empty(PKGSRC_COMPILER:Mclang)
-CXXFLAGS+=     -std=c++11
-.endif
-
 .include "../../archivers/libzip/buildlink3.mk"
 .include "../../databases/sqlite3/buildlink3.mk"
 .include "../../devel/boost-headers/buildlink3.mk"
diff -r 7ac2aef81b6d -r d6adba482c99 databases/soci/Makefile
--- a/databases/soci/Makefile   Wed May 03 08:34:23 2017 +0000
+++ b/databases/soci/Makefile   Wed May 03 08:38:38 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.20 2017/04/30 01:21:31 ryoon Exp $
+# $NetBSD: Makefile,v 1.21 2017/05/03 08:38:39 jperkin Exp $
 #
 
 DISTNAME=      soci-3.2.2
@@ -12,13 +12,9 @@
 LICENSE=       boost-license
 
 USE_CMAKE=     yes
-USE_LANGUAGES= c c++
+USE_LANGUAGES= c gnu++11
 
 CMAKE_ARGS+=   -DSOCI_LIBDIR=lib
-
-.include "../../mk/bsd.prefs.mk"
-
-CXXFLAGS.Cygwin+=      -std=gnu++11
 CMAKE_ARGS+=   -DCMAKE_CXX_FLAGS=${CXXFLAGS:Q}
 
 .include "options.mk"
diff -r 7ac2aef81b6d -r d6adba482c99 databases/sqlrelay-nodejs/Makefile
--- a/databases/sqlrelay-nodejs/Makefile        Wed May 03 08:34:23 2017 +0000
+++ b/databases/sqlrelay-nodejs/Makefile        Wed May 03 08:38:38 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.9 2017/04/30 01:21:31 ryoon Exp $
+# $NetBSD: Makefile,v 1.10 2017/05/03 08:38:39 jperkin Exp $
 
 PKGNAME=               ${DISTNAME:S/sqlrelay/sqlrelay-nodejs/}
 PKGREVISION=           1
@@ -6,6 +6,8 @@
 
 .include "../../databases/sqlrelay/Makefile.common"
 
+USE_LANGUAGES+=                c++11



Home | Main Index | Thread Index | Old Index