Files
ports/audio/stone-phaser-lv2/Makefile
T
Mark Linimon d57e3ecdf7 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)
2019-12-11 13:13:14 +00:00

42 lines
872 B
Makefile

# $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= 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 <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>