Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 9 Jun 2018 23:39:09 +0000 (UTC)
From:      Yuri Victorovich <yuri@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r472102 - in head/audio/triceratops-lv2: . files
Message-ID:  <201806092339.w59Nd9r4097338@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: yuri
Date: Sat Jun  9 23:39:08 2018
New Revision: 472102
URL: https://svnweb.freebsd.org/changeset/ports/472102

Log:
  audio/triceratops-lv2: Unbreak on architectures where it was broken due to -std=c++0x
  
  Add c++11 compiler flags.

Added:
  head/audio/triceratops-lv2/files/
  head/audio/triceratops-lv2/files/patch-wscript   (contents, props changed)
Modified:
  head/audio/triceratops-lv2/Makefile

Modified: head/audio/triceratops-lv2/Makefile
==============================================================================
--- head/audio/triceratops-lv2/Makefile	Sat Jun  9 23:28:05 2018	(r472101)
+++ head/audio/triceratops-lv2/Makefile	Sat Jun  9 23:39:08 2018	(r472102)
@@ -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
 

Added: head/audio/triceratops-lv2/files/patch-wscript
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/triceratops-lv2/files/patch-wscript	Sat Jun  9 23:39:08 2018	(r472102)
@@ -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"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201806092339.w59Nd9r4097338>