aboutsummaryrefslogtreecommitdiff
path: root/audio/ardour
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2013-04-29 16:43:05 +0000
committerRene Ladan <rene@FreeBSD.org>2013-04-29 16:43:05 +0000
commit4e4178dab5c2825019e9652f1ba4f102253a31df (patch)
treea101ccfbdb487a4c9c92a67d6d88ac8775e3362a /audio/ardour
parentecec69fbc311162911f66439dedf61b8176ef964 (diff)
downloadports-4e4178dab5c2825019e9652f1ba4f102253a31df.tar.gz
ports-4e4178dab5c2825019e9652f1ba4f102253a31df.zip
Notes
Diffstat (limited to 'audio/ardour')
-rw-r--r--audio/ardour/Makefile10
1 files changed, 3 insertions, 7 deletions
diff --git a/audio/ardour/Makefile b/audio/ardour/Makefile
index 63ec9fb95658..16e4630917fd 100644
--- a/audio/ardour/Makefile
+++ b/audio/ardour/Makefile
@@ -32,11 +32,7 @@ PLIST_SUB= DISTVERSION=${DISTVERSION}
OPTIONS_DEFINE= OPTIMIZED_CFLAGS VST
VST_DESC= VST plugins support
-.include <bsd.port.pre.mk>
-
-.if ${OSVERSION} < 800069
-LIB_DEPENDS+= usb:${PORTSDIR}/devel/libusb
-.endif
+.include <bsd.port.options.mk>
.if ${PORT_OPTIONS:MVST}
SCONS_ENV+= VST=yes
@@ -53,7 +49,7 @@ PLIST_SUB+= VST="@comment "
.endif
# Upstream uses these flags by default
-.if !defined(WITHOUT_OPTIMIZED_CFLAGS)
+.if ${PORT_OPTIONS:MOPTIMIZED_CFLAGS}
CFLAGS+= -O3 -fomit-frame-pointer -ffast-math -fstrength-reduce
. if ${ARCH} == "amd64"
SCONS_ENV+= DIST_TARGET=x86_64
@@ -77,4 +73,4 @@ post-install:
@${MKDIR} ${TEMPLATESDIR}
${INSTALL_DATA} ${WRKSRC}/templates/*.template ${TEMPLATESDIR}
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>