aboutsummaryrefslogtreecommitdiffstats
path: root/audio/amarok-kde4
diff options
context:
space:
mode:
authormich <mich@FreeBSD.org>2005-10-11 00:02:17 +0800
committermich <mich@FreeBSD.org>2005-10-11 00:02:17 +0800
commit782608f667c2b335391c576aa0c4f04b02f531d2 (patch)
tree11dfd6d5f356324a15be293a13abdf1be3df01ed /audio/amarok-kde4
parent84ed8f135d2b7ae079e511311516f41b78cd597b (diff)
downloadfreebsd-ports-gnome-782608f667c2b335391c576aa0c4f04b02f531d2.tar.gz
freebsd-ports-gnome-782608f667c2b335391c576aa0c4f04b02f531d2.tar.zst
freebsd-ports-gnome-782608f667c2b335391c576aa0c4f04b02f531d2.zip
o Fix OPTIONS handling
PR: ports/86778 Submitted by: Ulrich Spoerlein <q@galgenberg.net>
Diffstat (limited to 'audio/amarok-kde4')
-rw-r--r--audio/amarok-kde4/Makefile18
1 files changed, 9 insertions, 9 deletions
diff --git a/audio/amarok-kde4/Makefile b/audio/amarok-kde4/Makefile
index 3bd5b105a49a..89016423204c 100644
--- a/audio/amarok-kde4/Makefile
+++ b/audio/amarok-kde4/Makefile
@@ -43,7 +43,7 @@ LIB_DEPENDS+= artsgui:${PORTSDIR}/multimedia/kdemultimedia3
PLIST_SUB+= ARTS=""
.endif
-.if defined(WITHOUT_GSTREAMER)
+.if !defined(WITH_GSTREAMER)
CONFIGURE_ARGS+=--without-gstreamer
PLIST_SUB+= GSTREAMER="@comment "
.else
@@ -51,7 +51,7 @@ USE_GSTREAMER+= mad vorbis flac musepack artsd
PLIST_SUB+= GSTREAMER=""
.endif
-.if defined(WITHOUT_XINE)
+.if !defined(WITH_XINE)
CONFIGURE_ARGS+=--without-xine
PLIST_SUB+= XINE="@comment "
.else
@@ -59,7 +59,7 @@ LIB_DEPENDS+= xine.14:${PORTSDIR}/multimedia/libxine
PLIST_SUB+= XINE=""
.endif
-.if defined(WITHOUT_XMMS)
+.if !defined(WITH_XMMS)
PLIST_SUB+= XMMS="@comment "
.else
BUILD_DEPENDS+= xmms-config:${PORTSDIR}/multimedia/xmms
@@ -67,7 +67,7 @@ LIB_DEPENDS+= xmms.4:${PORTSDIR}/multimedia/xmms
PLIST_SUB+= XMMS=""
.endif
-.if defined(WITHOUT_LIBVISUAL)
+.if !defined(WITH_LIBVISUAL)
PLIST_SUB+= LIBVISUAL="@comment "
.else
LIB_DEPENDS+= visual.0:${PORTSDIR}/graphics/libvisual
@@ -82,12 +82,12 @@ CONFIGURE_ARGS+=--without-opengl
CONFIGURE_ARGS+=--without-amazon
.endif
-.if !defined(WITHOUT_MYSQL)
+.if defined(WITH_MYSQL)
USE_MYSQL= yes
CONFIGURE_ARGS+=--enable-mysql
.endif
-.if !defined(WITHOUT_POSTGRESQL)
+.if defined(WITH_POSTGRESQL)
USE_PGSQL= yes
CONFIGURE_ARGS+=--enable-postgresql
.endif
@@ -98,17 +98,17 @@ post-patch:
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${TOUCH}
post-configure:
-.if defined(WITHOUT_XMMS)
+.if !defined(WITH_XMMS)
@${REINPLACE_CMD} -e '/XMMS /d' ${WRKSRC}/config.h
@${REINPLACE_CMD} -e 's/xmmswrapper//g' ${WRKSRC}/amarok/src/vis/Makefile
.endif
-.if defined(WITHOUT_LIBVISUAL)
+.if !defined(WITH_LIBVISUAL)
@${REINPLACE_CMD} -e '/LIBVISUAL /d' ${WRKSRC}/config.h
@${REINPLACE_CMD} -e 's/libvisual//g' ${WRKSRC}/amarok/src/vis/Makefile
.endif
post-install:
-.if !defined(WITHOUT_LIBVISUAL)
+.if defined(WITH_LIBVISUAL)
@${CAT} ${PKGMESSAGE}
.endif