freebsd-ports/audio/infamous-plugins-lv2/Makefile
Mark Linimon c9da0b5946 Patch out -Og flag in src/*/CMakeLists.txt to fix build on GCC-based
systems such as powerpc64:

  cc1: invalid option argument '-Og'

Approved by:	portmgr (tier-2 blanket)
2019-06-20 15:21:40 +00:00

37 lines
822 B
Makefile

# $FreeBSD$
PORTNAME= infamous-plugins
DISTVERSIONPREFIX= v
DISTVERSION= 0.3.0
CATEGORIES= audio
PKGNAMESUFFIX= -lv2
MAINTAINER= yuri@FreeBSD.org
COMMENT= LV2 plugins for various sound effects
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= lv2>0:audio/lv2 \
${LOCALBASE}/lib/libfftw3.so:math/fftw3
LIB_DEPENDS= libfftw3f.so:math/fftw3-float \
libntk.so:x11-toolkits/ntk \
libzita-resampler.so:audio/zita-resampler
USES= cmake compiler gnome localbase pkgconfig
USE_GITHUB= yes
GH_ACCOUNT= ssj71
GH_PROJECT= infamousPlugins
USE_GNOME= cairo
.include <bsd.port.pre.mk>
post-patch:
@${REINPLACE_CMD} -e 's| -g"|"|' \
${WRKSRC}/src/*/CMakeLists.txt
.if ${CHOSEN_COMPILER_TYPE} == gcc
@${REINPLACE_CMD} -e 's| -Og"|"|' \
${WRKSRC}/src/*/CMakeLists.txt
.endif
.include <bsd.port.post.mk>