pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/bmpx bmpx requires C++11 unconditionally, not ju...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/d344f82f2598
branches:  trunk
changeset: 353055:d344f82f2598
user:      kamil <kamil%pkgsrc.org@localhost>
date:      Sun Sep 25 20:23:15 2016 +0000

description:
bmpx requires C++11 unconditionally, not just for Clang

While there add GCC_REQD+=4.8 as it was the first branch to support major
subset of C++11. Build tested with GCC-5.4.0 on NetBSD.

diffstat:

 audio/bmpx/Makefile |  6 ++----
 1 files changed, 2 insertions(+), 4 deletions(-)

diffs (21 lines):

diff -r e88a5e01dbc1 -r d344f82f2598 audio/bmpx/Makefile
--- a/audio/bmpx/Makefile       Sun Sep 25 20:21:25 2016 +0000
+++ b/audio/bmpx/Makefile       Sun Sep 25 20:23:15 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.79 2016/08/03 10:22:27 adam Exp $
+# $NetBSD: Makefile,v 1.80 2016/09/25 20:23:15 kamil Exp $
 
 DISTNAME=      bmpx-0.40.14
 PKGREVISION=   53
@@ -22,10 +22,8 @@
 CHECK_WRKREF_SKIP+=    bin/bmp2
 CHECK_WRKREF_SKIP+=    libexec/beep-media-player-2-bin
 
-.include "../../mk/compiler.mk"
-.if !empty(PKGSRC_COMPILER:Mclang)
+GCC_REQD+=     4.8
 CXXFLAGS+=     -std=c++11
-.endif
 
 .include "../../mk/bsd.fast.prefs.mk"
 .if ${OPSYS} == "Linux"



Home | Main Index | Thread Index | Old Index