1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-04 01:48:54 +00:00

audio/triceratops-lv2: Unbreak on architectures where it was broken due to -std=c++0x

Add c++11 compiler flags.
This commit is contained in:
Yuri Victorovich 2018-06-09 23:39:08 +00:00
parent 0bdbffbf75
commit d2b86c99c2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=472102
2 changed files with 13 additions and 3 deletions

View File

@ -3,6 +3,7 @@
PORTNAME= triceratops
DISTVERSIONPREFIX= lv2-v
DISTVERSION= 0.3.1
PORTREVISION= 1
CATEGORIES= audio
MASTER_SITES= SF/triceratops
PKGNAMESUFFIX= -lv2
@ -13,13 +14,11 @@ COMMENT= Polyphonic synthesizer LV2 plugin
LICENSE= GPLv3
LICENSE_FILE= ${WRKSRC}/COPYING
BROKEN_powerpc64= fails to build: cc1plus: unrecognized command line option -std=c++0x
BUILD_DEPENDS= lv2>0:audio/lv2
LIB_DEPENDS= libfontconfig.so:x11-fonts/fontconfig \
libfreetype.so:print/freetype2
USES= pkgconfig waf
USES= compiler:c++11-lang pkgconfig waf
USE_GNOME= cairo cairomm gdkpixbuf2 gtk20 gtkmm24
NO_WRKSUBDIR= yes

View File

@ -0,0 +1,11 @@
--- wscript.orig 2018-06-09 23:30:34 UTC
+++ wscript
@@ -27,7 +27,7 @@ def configure(conf):
if conf.env['MSVC_COMPILER']:
conf.env.append_unique('CXXFLAGS', ['-TP', '-MD'])
else:
- conf.env.append_unique('CXXFLAGS', ['-O2','-funroll-loops','-std=c++0x'])
+ conf.env.append_unique('CXXFLAGS', ['-funroll-loops','-std=c++11'])
if sys.maxint >= 9223372036854775807:
print "detected 64 bit architecture, enabling -fPIC"