From owner-svn-ports-all@freebsd.org Sun Jun 10 17:17:40 2018 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0A17D100637A; Sun, 10 Jun 2018 17:17:40 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id ABA7B6D267; Sun, 10 Jun 2018 17:17:39 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 8B9587C5A; Sun, 10 Jun 2018 17:17:39 +0000 (UTC) (envelope-from yuri@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id w5AHHduS041193; Sun, 10 Jun 2018 17:17:39 GMT (envelope-from yuri@FreeBSD.org) Received: (from yuri@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id w5AHHd53041192; Sun, 10 Jun 2018 17:17:39 GMT (envelope-from yuri@FreeBSD.org) Message-Id: <201806101717.w5AHHd53041192@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: yuri set sender to yuri@FreeBSD.org using -f From: Yuri Victorovich Date: Sun, 10 Jun 2018 17:17:39 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r472149 - in head/audio/fluidplug-lv2: . files X-SVN-Group: ports-head X-SVN-Commit-Author: yuri X-SVN-Commit-Paths: in head/audio/fluidplug-lv2: . files X-SVN-Commit-Revision: 472149 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 10 Jun 2018 17:17:40 -0000 Author: yuri Date: Sun Jun 10 17:17:38 2018 New Revision: 472149 URL: https://svnweb.freebsd.org/changeset/ports/472149 Log: audio/fluidplug-lv2: Unbreak on non-Intel/AMD platforms Make SSE flags depend on the option SSE that defaults to 'on' only on amd64/i386 architectures. Added: head/audio/fluidplug-lv2/files/ head/audio/fluidplug-lv2/files/patch-Makefile.mk (contents, props changed) Modified: head/audio/fluidplug-lv2/Makefile Modified: head/audio/fluidplug-lv2/Makefile ============================================================================== --- head/audio/fluidplug-lv2/Makefile Sun Jun 10 17:13:14 2018 (r472148) +++ head/audio/fluidplug-lv2/Makefile Sun Jun 10 17:17:38 2018 (r472149) @@ -2,7 +2,7 @@ PORTNAME= FluidPlug PORTVERSION= g20161020 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= audio PKGNAMESUFFIX= -lv2 EXTRACT_ONLY= ${DISTNAME}${EXTRACT_SUFX} @@ -12,11 +12,6 @@ COMMENT= SoundFonts as LV2 plugins via FluidSynth LICENSE= LGPL20 -BROKEN_aarch64= fails to compile: unknown FP unit 'sse' -BROKEN_armv6= fails to compile: unknown FP unit 'sse' -BROKEN_armv7= fails to compile: unknown FP unit 'sse' -BROKEN_mips64= fails to compile: unknown FP unit 'sse' - BUILD_DEPENDS= 7z:archivers/p7zip \ lv2>0:audio/lv2 LIB_DEPENDS= libfluidsynth.so:audio/fluidsynth @@ -27,6 +22,13 @@ GH_ACCOUNT= falkTX GH_TAGNAME= 889b256 SOUNDFONT_DIR= ${PREFIX}/share/sounds/sf2 + +OPTIONS_DEFINE_amd64= SSE +OPTIONS_DEFINE_i386= SSE +OPTIONS_DEFAULT_amd64= SSE +OPTIONS_DEFAULT_i386= SSE + +SSE_MAKE_ARGS= PORT_SIMD_FLAGS="-msse -msse2 -mfpmath=sse" post-patch: @${REINPLACE_CMD} -e ' \ Added: head/audio/fluidplug-lv2/files/patch-Makefile.mk ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/fluidplug-lv2/files/patch-Makefile.mk Sun Jun 10 17:17:38 2018 (r472149) @@ -0,0 +1,11 @@ +--- Makefile.mk.orig 2018-06-10 17:12:48 UTC ++++ Makefile.mk +@@ -34,7 +34,7 @@ CXX ?= g++ + # Set build and link flags + + BASE_FLAGS = -Wall -Wextra -Wshadow -pipe +-BASE_OPTS = -O2 -ffast-math -mtune=generic -msse -msse2 -mfpmath=sse -fdata-sections -ffunction-sections ++BASE_OPTS = -O2 -ffast-math -mtune=generic $(PORT_SIMD_FLAGS) -fdata-sections -ffunction-sections + + ifeq ($(MACOS),true) + # MacOS linker flags