mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-19 19:59:43 +00:00
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)
This commit is contained in:
parent
2c0aff5f35
commit
d57e3ecdf7
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=519800
@ -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 <bsd.port.mk>
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.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 <bsd.port.post.mk>
|
||||
|
@ -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
|
@ -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
|
Loading…
Reference in New Issue
Block a user