summaryrefslogtreecommitdiff
path: root/databases/soci
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 /databases/soci
parent3976212695feabbd27bb2ec036df7e0bddfd4c70 (diff)
downloadpkgsrc-5b99812dcc356c047deb6541432c2003597d6d78.tar.gz
Convert CXXFLAGS setting C++ standard to USE_LANGUAGES.
Diffstat (limited to 'databases/soci')
-rw-r--r--databases/soci/Makefile8
1 files changed, 2 insertions, 6 deletions
diff --git a/databases/soci/Makefile b/databases/soci/Makefile
index a3e58176705..66dfeb6eda2 100644
--- a/databases/soci/Makefile
+++ b/databases/soci/Makefile
@@ -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 @@ COMMENT= C++ database access library
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"