aboutsummaryrefslogtreecommitdiffstats
path: root/audio
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-06-15 06:22:31 +0800
committerbapt <bapt@FreeBSD.org>2013-06-15 06:22:31 +0800
commit4160e6f813a9581eed66f880e2d3e4e6158d623a (patch)
treefc2bf6b9c865bc37d9920bf5054668358beb867b /audio
parent09c49d06ce86233dd62db93faf56f1e024736afb (diff)
downloadfreebsd-ports-gnome-4160e6f813a9581eed66f880e2d3e4e6158d623a.tar.gz
freebsd-ports-gnome-4160e6f813a9581eed66f880e2d3e4e6158d623a.tar.zst
freebsd-ports-gnome-4160e6f813a9581eed66f880e2d3e4e6158d623a.zip
Convert from WITH to OPTIONS
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