Date: Sat, 27 Jul 2019 06:01:44 +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: r507381 - in head/audio/string-machine-lv2: . files Message-ID: <201907270601.x6R61i70066271@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: yuri Date: Sat Jul 27 06:01:44 2019 New Revision: 507381 URL: https://svnweb.freebsd.org/changeset/ports/507381 Log: audio/string-machine-lv2: Fix build on non-x86 PR: 239470 Reported by: pkubaj Added: head/audio/string-machine-lv2/files/patch-dpf_Makefile.base.mk (contents, props changed) Modified: head/audio/string-machine-lv2/Makefile Modified: head/audio/string-machine-lv2/Makefile ============================================================================== --- head/audio/string-machine-lv2/Makefile Sat Jul 27 00:31:31 2019 (r507380) +++ head/audio/string-machine-lv2/Makefile Sat Jul 27 06:01:44 2019 (r507381) @@ -3,6 +3,7 @@ PORTNAME= string-machine DISTVERSIONPREFIX= v DISTVERSION= 0.1.0 +PORTREVISION= 1 CATEGORIES= audio PKGNAMESUFFIX= -lv2 @@ -15,7 +16,7 @@ LICENSE_FILE= ${WRKSRC}/LICENSE BUILD_DEPENDS= lv2>0:audio/lv2 \ ${LOCALBASE}/include/boost/intrusive/list.hpp:devel/boost-libs -USES= gmake gnome localbase pkgconfig +USES= compiler:c++0x gmake gnome localbase pkgconfig USE_GITHUB= yes GH_ACCOUNT= jpcima GH_TUPLE= DISTRHO:DPF:7a056bb:d/dpf @@ -23,6 +24,12 @@ USE_GNOME= cairo USE_XORG= x11 CFLAGS+= -I${FILESDIR} -pthread + +SIMD_CFLAGS_i386= "-msse -mfpmath=sse" +SIMD_CFLAGS_amd64= "-msse2 -mfpmath=sse" +SIMD_CFLAGS_armv7= "-march=armv7 -mfpu=vfpv3" + +MAKE_ARGS= SIMD_CFLAGS=${SIMD_CFLAGS_${ARCH}} PLIST_FILES= lib/lv2/string-machine.lv2/manifest.ttl \ lib/lv2/string-machine.lv2/presets.ttl \ Added: head/audio/string-machine-lv2/files/patch-dpf_Makefile.base.mk ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/string-machine-lv2/files/patch-dpf_Makefile.base.mk Sat Jul 27 06:01:44 2019 (r507381) @@ -0,0 +1,11 @@ +--- dpf/Makefile.base.mk.orig 2019-07-27 05:51:19 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 $(SIMD_CFLAGS) -fdata-sections -ffunction-sections + + ifeq ($(MACOS),true) + # MacOS linker flags
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201907270601.x6R61i70066271>