From owner-svn-ports-head@freebsd.org Wed Dec 11 13:13:15 2019 Return-Path: Delivered-To: svn-ports-head@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id 1EE7B1D664A; Wed, 11 Dec 2019 13:13:15 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) server-signature RSA-PSS (4096 bits) client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 47Xy6M02rCz45HB; Wed, 11 Dec 2019 13:13:15 +0000 (UTC) (envelope-from linimon@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 F0DCBBCA4; Wed, 11 Dec 2019 13:13:14 +0000 (UTC) (envelope-from linimon@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id xBBDDEDY014365; Wed, 11 Dec 2019 13:13:14 GMT (envelope-from linimon@FreeBSD.org) Received: (from linimon@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id xBBDDEYs014363; Wed, 11 Dec 2019 13:13:14 GMT (envelope-from linimon@FreeBSD.org) Message-Id: <201912111313.xBBDDEYs014363@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: linimon set sender to linimon@FreeBSD.org using -f From: Mark Linimon Date: Wed, 11 Dec 2019 13:13:14 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r519800 - in head/audio/stone-phaser-lv2: . files X-SVN-Group: ports-head X-SVN-Commit-Author: linimon X-SVN-Commit-Paths: in head/audio/stone-phaser-lv2: . files X-SVN-Commit-Revision: 519800 X-SVN-Commit-Repository: ports MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Dec 2019 13:13:15 -0000 Author: linimon Date: Wed Dec 11 13:13:14 2019 New Revision: 519800 URL: https://svnweb.freebsd.org/changeset/ports/519800 Log: Fix build on GCC-based systems: cc1plus: error: unrecognized command line option "-msse" cc1plus: error: unrecognized command line option "-msse2" cc1plus: error: unrecognized command line option "-std=gnu++0x" The previous patchfile is now split into two, depending on whether ARCH is x86 or not. Since REINPLACE is now deprecated for this purpose, I could not figure out any other way to do it. Approved by: portmgr (tier-2 blanket) Added: head/audio/stone-phaser-lv2/files/extra-patch-dpf_Makefile.base.mk (contents, props changed) head/audio/stone-phaser-lv2/files/extra-patch-nosse-dpf_Makefile.base.mk (contents, props changed) Modified: head/audio/stone-phaser-lv2/Makefile Modified: head/audio/stone-phaser-lv2/Makefile ============================================================================== --- head/audio/stone-phaser-lv2/Makefile Wed Dec 11 13:10:33 2019 (r519799) +++ head/audio/stone-phaser-lv2/Makefile Wed Dec 11 13:13:14 2019 (r519800) @@ -16,7 +16,7 @@ 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 @@ -30,4 +30,12 @@ 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 Added: head/audio/stone-phaser-lv2/files/extra-patch-dpf_Makefile.base.mk ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/stone-phaser-lv2/files/extra-patch-dpf_Makefile.base.mk Wed Dec 11 13:13:14 2019 (r519800) @@ -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 Added: head/audio/stone-phaser-lv2/files/extra-patch-nosse-dpf_Makefile.base.mk ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/audio/stone-phaser-lv2/files/extra-patch-nosse-dpf_Makefile.base.mk Wed Dec 11 13:13:14 2019 (r519800) @@ -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