Skip to content

Commit

Permalink
audio/caps-plugins: Fix build with llvm16
Browse files Browse the repository at this point in the history
- Pet portclippy
- Adopt port

Sponsored by:	The FreeBSD Foundation
  • Loading branch information
5u623l20 committed Jul 19, 2023
1 parent 1a0e33f commit a2176e0
Showing 1 changed file with 9 additions and 7 deletions.
16 changes: 9 additions & 7 deletions audio/caps-plugins/Makefile
Expand Up @@ -5,25 +5,27 @@ CATEGORIES= audio
MASTER_SITES= http://quitte.de/dsp/
DISTNAME= caps_${PORTVERSION}

MAINTAINER= ports@FreeBSD.org
MAINTAINER= bofh@FreeBSD.org
COMMENT= The C* LADSPA Audio Plugin Suite
WWW= http://quitte.de/dsp/caps.html

BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:audio/ladspa
RUN_DEPENDS= ${LOCALBASE}/include/ladspa.h:audio/ladspa

OPTIONS_DEFINE= OPTIMIZED_CFLAGS

LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual

WRKSRC= ${WRKDIR}/caps-${PORTVERSION}
BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:audio/ladspa
RUN_DEPENDS= ${LOCALBASE}/include/ladspa.h:audio/ladspa

USES= gmake
USE_CXXSTD= c++14

MAKE_ARGS= CC="${CXX}" CFLAGS="${CXXFLAGS} -fPIC -DPIC"

WRKSRC= ${WRKDIR}/caps-${PORTVERSION}

PLIST_FILES= lib/ladspa/caps.so share/ladspa/rdf/caps.rdf

OPTIONS_DEFINE= OPTIMIZED_CFLAGS

OPTIMIZED_CFLAGS_CFLAGS= -O2 -ffast-math -funroll-loops

do-install:
Expand Down

0 comments on commit a2176e0

Please sign in to comment.