pkgsrc-WIP-changes archive

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

bitcoin: Drop --std=c++0x



Module Name:	pkgsrc-wip
Committed By:	Greg Troxel <gdt%ir.bbn.com@localhost>
Pushed By:	gdt
Date:		Tue Nov 29 10:49:45 2016 -0500
Changeset:	0476cab9c590050769998c08f8e54720ef9bf2fd

Modified Files:
	bitcoin/Makefile

Log Message:
bitcoin: Drop --std=c++0x

While it's not clear what will happen with older compilers, it's also
not clear what dialect bitcoin is in, and boost (fussy about a recent
compiler) is a dependency, so it's probably academic.  Adding
--std=c++{0x,11} seems to only add a deprecation warning.  Thus, leave
this issue for a future update.

To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=0476cab9c590050769998c08f8e54720ef9bf2fd

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

diffstat:
 bitcoin/Makefile | 11 +++++++----
 1 file changed, 7 insertions(+), 4 deletions(-)

diffs:
diff --git a/bitcoin/Makefile b/bitcoin/Makefile
index e8e38fc..9bfaf06 100644
--- a/bitcoin/Makefile
+++ b/bitcoin/Makefile
@@ -1,7 +1,7 @@
 # $NetBSD$
 
 DISTNAME=       bitcoin-0.11.2
-PKGREVISION=    2
+PKGREVISION=    3
 CATEGORIES=	finance
 MASTER_SITES=   ${MASTER_SITE_GITHUB:=bitcoin/}
 GITHUB_TAG=     v${PKGVERSION_NOREV}
@@ -13,14 +13,17 @@ LICENSE=	mit
 
 USE_LIBTOOL=	yes
 USE_TOOLS+=	gmake pkg-config autoconf aclocal autoheader automake
-USE_LANGUAGES=	c c++
 AUTO_MKDIRS=	yes
 GNU_CONFIGURE=  yes
 
+USE_LANGUAGES=	c c++
+# It's not clear what dialect of C++ bitcoin is in, and
+# if it needs explicit flags (c++0x was previously set).
+# For now, leave it out.
+#CXXFLAGS+=	-std=c++0x
+
 # TODO: Explain why this is necessary.
 CFLAGS+=        -fPIC
-# TODO: Explain why this is necessary.
-CXXFLAGS+=	-std=c++0x
 
 # configure does not look in PREFIX for boost unless instructed.
 CONFIGURE_ARGS+=  --with-boost=${BUILDLINK_PREFIX.boost-libs}


Home | Main Index | Thread Index | Old Index