svn commit: r519849 - in head/audio/midiomatic-lv2: . files

Mark Linimon linimon at FreeBSD.org
Thu Dec 12 00:25:27 UTC 2019


Author: linimon
Date: Thu Dec 12 00:25:26 2019
New Revision: 519849
URL: https://svnweb.freebsd.org/changeset/ports/519849

Log:
  Fix build on GCC-based systems:
  
    via USES=compiler:c++0x:
      cc1plus: error: unrecognized command line option "-std=gnu++0x"
    via patchfile:
      g++9: error: unrecognized argument in option '-mtune=generic'
  
  Approved by:	portmgr (tier-2 blanket)

Added:
  head/audio/midiomatic-lv2/files/patch-dpf_Makefile.base.mk   (contents, props changed)
Modified:
  head/audio/midiomatic-lv2/Makefile

Modified: head/audio/midiomatic-lv2/Makefile
==============================================================================
--- head/audio/midiomatic-lv2/Makefile	Thu Dec 12 00:02:20 2019	(r519848)
+++ head/audio/midiomatic-lv2/Makefile	Thu Dec 12 00:25:26 2019	(r519849)
@@ -16,7 +16,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE
 BUILD_DEPENDS=	lv2>0:audio/lv2 \
 		bash:shells/bash
 
-USES=		gmake pkgconfig shebangfix
+USES=		compiler:c++0x gmake pkgconfig shebangfix
 SHEBANG_GLOB=	*.sh
 USE_GITHUB=	yes
 GH_ACCOUNT=	SpotlightKid

Added: head/audio/midiomatic-lv2/files/patch-dpf_Makefile.base.mk
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/audio/midiomatic-lv2/files/patch-dpf_Makefile.base.mk	Thu Dec 12 00:25:26 2019	(r519849)
@@ -0,0 +1,11 @@
+--- dpf/Makefile.base.mk.orig	2019-11-04 21:45:33 UTC
++++ dpf/Makefile.base.mk
+@@ -129,7 +129,7 @@ endif
+ # Set build and link flags
+ 
+ BASE_FLAGS = -Wall -Wextra -pipe -MD -MP
+-BASE_OPTS  = -O3 -ffast-math -mtune=generic -fdata-sections -ffunction-sections
++BASE_OPTS  = -O3 -ffast-math -fdata-sections -ffunction-sections
+ 
+ ifeq ($(CPU_I386_OR_X86_64),true)
+ BASE_OPTS += -msse -msse2


More information about the svn-ports-head mailing list