aboutsummaryrefslogtreecommitdiff
path: root/audio
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2013-06-14 22:22:31 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2013-06-14 22:22:31 +0000
commit69dcd5f21d699cdd3cb1008ded2778af50c58f9f (patch)
treefc2bf6b9c865bc37d9920bf5054668358beb867b /audio
parent0dd445b49989b4baa4f3d6dd70567fe403b05b27 (diff)
downloadports-69dcd5f21d699cdd3cb1008ded2778af50c58f9f.tar.gz
ports-69dcd5f21d699cdd3cb1008ded2778af50c58f9f.zip
Notes
Diffstat (limited to 'audio')
-rw-r--r--audio/caps-plugins/Makefile12
1 files changed, 4 insertions, 8 deletions
diff --git a/audio/caps-plugins/Makefile b/audio/caps-plugins/Makefile
index bed007b2e214..6312786108a4 100644
--- a/audio/caps-plugins/Makefile
+++ b/audio/caps-plugins/Makefile
@@ -1,9 +1,5 @@
-# New ports collection makefile for: caps-plugins
-# Date created: 2007-03-06
-# Whom: trasz <trasz@pin.if.uz.zgora.pl>
-#
+# Created by: trasz <trasz@pin.if.uz.zgora.pl>
# $FreeBSD$
-#
PORTNAME= caps-plugins
PORTVERSION= 0.4.5
@@ -17,6 +13,8 @@ COMMENT= The C* Audio Plugin Suite
BUILD_DEPENDS= ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa
RUN_DEPENDS= ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa
+OPTIONS_DEFINE= OPTIMIZED_CFLAGS
+
LICENSE= GPLv2 GPLv3
LICENSE_COMB= dual
@@ -28,9 +26,7 @@ MAKE_ARGS= CC="${CXX}" CFLAGS="${CXXFLAGS} -fPIC -DPIC"
PLIST_FILES= lib/ladspa/caps.so share/ladspa/rdf/caps.rdf
PLIST_DIRSTRY= share/ladspa/rdf share/ladspa
-.if !defined(WITHOUT_OPTIMIZED_CFLAGS)
-CFLAGS+= -O2 -ffast-math -funroll-loops
-.endif
+OPTIMIZED_CFLAGS_CFLAGS= -O2 -ffast-math -funroll-loops
do-install:
@${MKDIR} ${PREFIX}/lib/ladspa