1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-22 04:17:44 +00:00
freebsd-ports/audio/swhplugins/Makefile
Tilman Keskinoz 49460ab732 Three plugins used C89 inline semantics, which resulted in unresolved
symbols with C99 compilers.

PR:		239128
Reported by:	Marcel Bonnet

While here, portlint.
Grab back maintainership.
2019-09-23 20:25:38 +00:00

52 lines
1.2 KiB
Makefile

# Created by: Tilman Linneweh <arved@FreeBSD.org>
# $FreeBSD$
PORTNAME= swhplugins
PORTVERSION= 0.4.15
PORTREVISION= 7
CATEGORIES= audio
MASTER_SITES= http://plugin.org.uk/releases/${PORTVERSION}/
DISTNAME= swh-plugins-${PORTVERSION}
MAINTAINER= arved@FreeBSD.org
COMMENT= Steve Harris' huge Collection of LADSPA Plugins
LICENSE= GPLv2
LICENSE_FILE= ${WRKSRC}/COPYING
BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:audio/ladspa \
${LOCALBASE}/include/fftw3.h:math/fftw3
LIB_DEPENDS= libfftw3f.so:math/fftw3-float
# includes assembler code
ONLY_FOR_ARCHS= amd64 i386
USES= gmake libtool pkgconfig
GNU_CONFIGURE= yes
CPPFLAGS+= -I${LOCALBASE}/include
LDFLAGS+= -L${LOCALBASE}/lib
USE_LDCONFIG= yes
CFLAGS+= -fPIC -DPIC -fgnu89-inline
OPTIONS_DEFINE= NLS 3DNOW SSE
OPTIONS_SUB= yes
3DNOW_DESC= use 3DNow! instructions
SSE_DESC= use SSE instructions
NLS_USES= gettext
NLS_LDFLAGS= -lintl
NLS_CONFIGURE_ENABLE= nls
3DNOW_CONFIGURE_ENABLE= 3dnow
SSE_CONFIGURE_ENABLE= sse
post-patch:
@${REINPLACE_CMD} -e \
's|="$$CFLAGS -Wall .*"|="$$CFLAGS"|g' ${WRKSRC}/configure
@${REINPLACE_CMD} -e \
's|<stdint\.h>|<inttypes.h>|g' ${WRKSRC}/ladspa-util.h
.include <bsd.port.mk>