pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/libmemcached libmemcached: gnu++0x for alloca



details:   https://anonhg.NetBSD.org/pkgsrc/rev/9d796504ce3f
branches:  trunk
changeset: 413180:9d796504ce3f
user:      nia <nia%pkgsrc.org@localhost>
date:      Mon Mar 16 10:38:09 2020 +0000

description:
libmemcached: gnu++0x for alloca

diffstat:

 devel/libmemcached/Makefile |  7 ++++---
 1 files changed, 4 insertions(+), 3 deletions(-)

diffs (28 lines):

diff -r 6932968e2873 -r 9d796504ce3f devel/libmemcached/Makefile
--- a/devel/libmemcached/Makefile       Mon Mar 16 10:19:15 2020 +0000
+++ b/devel/libmemcached/Makefile       Mon Mar 16 10:38:09 2020 +0000
@@ -1,5 +1,4 @@
-# $NetBSD: Makefile,v 1.13 2020/01/26 17:30:59 rillig Exp $
-#
+# $NetBSD: Makefile,v 1.14 2020/03/16 10:38:09 nia Exp $
 
 DISTNAME=      libmemcached-1.0.18
 CATEGORIES=    devel
@@ -12,7 +11,7 @@
 
 GNU_CONFIGURE= yes
 USE_TOOLS+=    pkg-config gmake
-USE_LANGUAGES= c c++
+USE_LANGUAGES= c gnu++0x
 USE_LIBTOOL=   yes
 
 PKGCONFIG_OVERRIDE+=   support/libmemcached.pc.in
@@ -26,6 +25,8 @@
 .include "../../mk/bsd.prefs.mk"
 .include "options.mk"
 
+BUILDLINK_TRANSFORM+=  rm:-std=c++0x
+
 CONFIGURE_ARGS+=       --enable-jobserver=no
 
 CPPFLAGS+=     -D__STDC_FORMAT_MACROS



Home | Main Index | Thread Index | Old Index