aboutsummaryrefslogtreecommitdiff
path: root/audio/dssi
diff options
context:
space:
mode:
authorBaptiste Daroussin <bapt@FreeBSD.org>2012-06-01 06:57:16 +0000
committerBaptiste Daroussin <bapt@FreeBSD.org>2012-06-01 06:57:16 +0000
commitfa8e7fc56e3710cf9058bd0f55bac1a8759f2de5 (patch)
tree196a01f73ca23735228b9062dc8386cb18c0ba09 /audio/dssi
parentf137a485dc1bf6a0351b5d8d063b9eacfefa15a8 (diff)
downloadports-fa8e7fc56e3710cf9058bd0f55bac1a8759f2de5.tar.gz
ports-fa8e7fc56e3710cf9058bd0f55bac1a8759f2de5.zip
Notes
Diffstat (limited to 'audio/dssi')
-rw-r--r--audio/dssi/Makefile6
1 files changed, 3 insertions, 3 deletions
diff --git a/audio/dssi/Makefile b/audio/dssi/Makefile
index 401aaed0f8a5..70f0484bd8a2 100644
--- a/audio/dssi/Makefile
+++ b/audio/dssi/Makefile
@@ -24,7 +24,7 @@ LIB_DEPENDS= dssialsacompat.0:${PORTSDIR}/audio/libdssialsacompat \
jack.0:${PORTSDIR}/audio/jack
RUN_DEPENDS= ${LOCALBASE}/include/ladspa.h:${PORTSDIR}/audio/ladspa
-OPTIONS= QT "Enable Qt4 support" off
+OPTIONS_DEFINE= QT4
USE_GNOME= gnomehack
USE_GMAKE= yes
@@ -39,7 +39,7 @@ MAN1= dssi_analyse_plugin.1 dssi_list_plugins.1 dssi_osc_send.1 \
.include <bsd.port.options.mk>
-.if defined(WITH_QT)
+.if ${PORT_OPTIONS:MQT4}
USE_QT_VER= 4
QT_COMPONENTS= corelib gui
QT_NONSTANDARD= yes
@@ -57,7 +57,7 @@ post-patch:
's|-ldl$$||' ${WRKSRC}/jack-dssi-host/Makefile.in
@${REINPLACE_CMD} -e \
'/alsa >=/s|$$PKG_CONFIG|${FALSE}|' ${WRKSRC}/configure
-.if !defined(WITH_QT)
+.if empty(PORT_OPTIONS:MQT4)
@${REINPLACE_CMD} -e \
'/QtCore >=/s|$$PKG_CONFIG|${FALSE}|' ${WRKSRC}/configure
.endif