Index: head/audio/stone-phaser-lv2/Makefile =================================================================== --- head/audio/stone-phaser-lv2/Makefile (revision 519799) +++ head/audio/stone-phaser-lv2/Makefile (revision 519800) @@ -1,33 +1,41 @@ # $FreeBSD$ PORTNAME= stone-phaser DISTVERSIONPREFIX= v DISTVERSION= 0.1.2-5 DISTVERSIONSUFFIX= -g3e51889 CATEGORIES= audio PKGNAMESUFFIX= -lv2 MAINTAINER= yuri@FreeBSD.org COMMENT= Classic analog phaser effect, made with DPF and Faust LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= lv2>0:audio/lv2 \ bash:shells/bash -USES= gmake gnome pkgconfig shebangfix xorg +USES= compiler:c++0x gmake gnome pkgconfig shebangfix xorg SHEBANG_GLOB= *.sh USE_GITHUB= yes GH_ACCOUNT= jpcima GH_TUPLE= DISTRHO:DPF:e69074e:dpf/dpf USE_GNOME= cairo USE_XORG= x11 MAKE_ARGS= BUILD_LADSPA=false CFLAGS+= -I${FILESDIR} pre-install: @${MKDIR} ${STAGEDIR}${PREFIX}/lib/vst -.include +.include + +.if ${ARCH} == "amd64" || ${ARCH} == "i386" +EXTRA_PATCHES= ${FILESDIR}/extra-patch-dpf_Makefile.base.mk +.else +EXTRA_PATCHES= ${FILESDIR}/extra-patch-nosse-dpf_Makefile.base.mk +.endif + +.include Index: head/audio/stone-phaser-lv2/files/extra-patch-dpf_Makefile.base.mk =================================================================== --- head/audio/stone-phaser-lv2/files/extra-patch-dpf_Makefile.base.mk (nonexistent) +++ head/audio/stone-phaser-lv2/files/extra-patch-dpf_Makefile.base.mk (revision 519800) @@ -0,0 +1,11 @@ +--- dpf/Makefile.base.mk.orig 2019-09-28 00:18:08 UTC ++++ dpf/Makefile.base.mk +@@ -106,7 +106,7 @@ endif + # Set build and link flags + + BASE_FLAGS = -Wall -Wextra -pipe -MD -MP +-BASE_OPTS = -O3 -ffast-math -mtune=generic -msse -msse2 -fdata-sections -ffunction-sections ++BASE_OPTS = -O3 -ffast-math -fdata-sections -ffunction-sections + + ifeq ($(MACOS),true) + # MacOS linker flags Property changes on: head/audio/stone-phaser-lv2/files/extra-patch-dpf_Makefile.base.mk ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/audio/stone-phaser-lv2/files/extra-patch-nosse-dpf_Makefile.base.mk =================================================================== --- head/audio/stone-phaser-lv2/files/extra-patch-nosse-dpf_Makefile.base.mk (nonexistent) +++ head/audio/stone-phaser-lv2/files/extra-patch-nosse-dpf_Makefile.base.mk (revision 519800) @@ -0,0 +1,11 @@ +--- dpf/Makefile.base.mk.orig 2019-12-11 09:25:25 UTC ++++ dpf/Makefile.base.mk +@@ -106,7 +106,7 @@ endif + # Set build and link flags + + BASE_FLAGS = -Wall -Wextra -pipe -MD -MP +-BASE_OPTS = -O3 -ffast-math -mtune=generic -msse -msse2 -fdata-sections -ffunction-sections ++BASE_OPTS = -O3 -ffast-math -fdata-sections -ffunction-sections + + ifeq ($(MACOS),true) + # MacOS linker flags Property changes on: head/audio/stone-phaser-lv2/files/extra-patch-nosse-dpf_Makefile.base.mk ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property