1
0
mirror of https://git.FreeBSD.org/ports.git synced 2025-01-01 05:45:45 +00:00

o Fix OPTIONS handling

PR:		ports/86778
Submitted by:	Ulrich Spoerlein <q@galgenberg.net>
This commit is contained in:
Michael Landin 2005-10-10 16:02:17 +00:00
parent 0938506f64
commit 68d1988f79
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=144842
2 changed files with 18 additions and 18 deletions

View File

@ -43,7 +43,7 @@ LIB_DEPENDS+= artsgui:${PORTSDIR}/multimedia/kdemultimedia3
PLIST_SUB+= ARTS="" PLIST_SUB+= ARTS=""
.endif .endif
.if defined(WITHOUT_GSTREAMER) .if !defined(WITH_GSTREAMER)
CONFIGURE_ARGS+=--without-gstreamer CONFIGURE_ARGS+=--without-gstreamer
PLIST_SUB+= GSTREAMER="@comment " PLIST_SUB+= GSTREAMER="@comment "
.else .else
@ -51,7 +51,7 @@ USE_GSTREAMER+= mad vorbis flac musepack artsd
PLIST_SUB+= GSTREAMER="" PLIST_SUB+= GSTREAMER=""
.endif .endif
.if defined(WITHOUT_XINE) .if !defined(WITH_XINE)
CONFIGURE_ARGS+=--without-xine CONFIGURE_ARGS+=--without-xine
PLIST_SUB+= XINE="@comment " PLIST_SUB+= XINE="@comment "
.else .else
@ -59,7 +59,7 @@ LIB_DEPENDS+= xine.14:${PORTSDIR}/multimedia/libxine
PLIST_SUB+= XINE="" PLIST_SUB+= XINE=""
.endif .endif
.if defined(WITHOUT_XMMS) .if !defined(WITH_XMMS)
PLIST_SUB+= XMMS="@comment " PLIST_SUB+= XMMS="@comment "
.else .else
BUILD_DEPENDS+= xmms-config:${PORTSDIR}/multimedia/xmms BUILD_DEPENDS+= xmms-config:${PORTSDIR}/multimedia/xmms
@ -67,7 +67,7 @@ LIB_DEPENDS+= xmms.4:${PORTSDIR}/multimedia/xmms
PLIST_SUB+= XMMS="" PLIST_SUB+= XMMS=""
.endif .endif
.if defined(WITHOUT_LIBVISUAL) .if !defined(WITH_LIBVISUAL)
PLIST_SUB+= LIBVISUAL="@comment " PLIST_SUB+= LIBVISUAL="@comment "
.else .else
LIB_DEPENDS+= visual.0:${PORTSDIR}/graphics/libvisual LIB_DEPENDS+= visual.0:${PORTSDIR}/graphics/libvisual
@ -82,12 +82,12 @@ CONFIGURE_ARGS+=--without-opengl
CONFIGURE_ARGS+=--without-amazon CONFIGURE_ARGS+=--without-amazon
.endif .endif
.if !defined(WITHOUT_MYSQL) .if defined(WITH_MYSQL)
USE_MYSQL= yes USE_MYSQL= yes
CONFIGURE_ARGS+=--enable-mysql CONFIGURE_ARGS+=--enable-mysql
.endif .endif
.if !defined(WITHOUT_POSTGRESQL) .if defined(WITH_POSTGRESQL)
USE_PGSQL= yes USE_PGSQL= yes
CONFIGURE_ARGS+=--enable-postgresql CONFIGURE_ARGS+=--enable-postgresql
.endif .endif
@ -98,17 +98,17 @@ post-patch:
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${TOUCH} @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${TOUCH}
post-configure: post-configure:
.if defined(WITHOUT_XMMS) .if !defined(WITH_XMMS)
@${REINPLACE_CMD} -e '/XMMS /d' ${WRKSRC}/config.h @${REINPLACE_CMD} -e '/XMMS /d' ${WRKSRC}/config.h
@${REINPLACE_CMD} -e 's/xmmswrapper//g' ${WRKSRC}/amarok/src/vis/Makefile @${REINPLACE_CMD} -e 's/xmmswrapper//g' ${WRKSRC}/amarok/src/vis/Makefile
.endif .endif
.if defined(WITHOUT_LIBVISUAL) .if !defined(WITH_LIBVISUAL)
@${REINPLACE_CMD} -e '/LIBVISUAL /d' ${WRKSRC}/config.h @${REINPLACE_CMD} -e '/LIBVISUAL /d' ${WRKSRC}/config.h
@${REINPLACE_CMD} -e 's/libvisual//g' ${WRKSRC}/amarok/src/vis/Makefile @${REINPLACE_CMD} -e 's/libvisual//g' ${WRKSRC}/amarok/src/vis/Makefile
.endif .endif
post-install: post-install:
.if !defined(WITHOUT_LIBVISUAL) .if defined(WITH_LIBVISUAL)
@${CAT} ${PKGMESSAGE} @${CAT} ${PKGMESSAGE}
.endif .endif

View File

@ -43,7 +43,7 @@ LIB_DEPENDS+= artsgui:${PORTSDIR}/multimedia/kdemultimedia3
PLIST_SUB+= ARTS="" PLIST_SUB+= ARTS=""
.endif .endif
.if defined(WITHOUT_GSTREAMER) .if !defined(WITH_GSTREAMER)
CONFIGURE_ARGS+=--without-gstreamer CONFIGURE_ARGS+=--without-gstreamer
PLIST_SUB+= GSTREAMER="@comment " PLIST_SUB+= GSTREAMER="@comment "
.else .else
@ -51,7 +51,7 @@ USE_GSTREAMER+= mad vorbis flac musepack artsd
PLIST_SUB+= GSTREAMER="" PLIST_SUB+= GSTREAMER=""
.endif .endif
.if defined(WITHOUT_XINE) .if !defined(WITH_XINE)
CONFIGURE_ARGS+=--without-xine CONFIGURE_ARGS+=--without-xine
PLIST_SUB+= XINE="@comment " PLIST_SUB+= XINE="@comment "
.else .else
@ -59,7 +59,7 @@ LIB_DEPENDS+= xine.14:${PORTSDIR}/multimedia/libxine
PLIST_SUB+= XINE="" PLIST_SUB+= XINE=""
.endif .endif
.if defined(WITHOUT_XMMS) .if !defined(WITH_XMMS)
PLIST_SUB+= XMMS="@comment " PLIST_SUB+= XMMS="@comment "
.else .else
BUILD_DEPENDS+= xmms-config:${PORTSDIR}/multimedia/xmms BUILD_DEPENDS+= xmms-config:${PORTSDIR}/multimedia/xmms
@ -67,7 +67,7 @@ LIB_DEPENDS+= xmms.4:${PORTSDIR}/multimedia/xmms
PLIST_SUB+= XMMS="" PLIST_SUB+= XMMS=""
.endif .endif
.if defined(WITHOUT_LIBVISUAL) .if !defined(WITH_LIBVISUAL)
PLIST_SUB+= LIBVISUAL="@comment " PLIST_SUB+= LIBVISUAL="@comment "
.else .else
LIB_DEPENDS+= visual.0:${PORTSDIR}/graphics/libvisual LIB_DEPENDS+= visual.0:${PORTSDIR}/graphics/libvisual
@ -82,12 +82,12 @@ CONFIGURE_ARGS+=--without-opengl
CONFIGURE_ARGS+=--without-amazon CONFIGURE_ARGS+=--without-amazon
.endif .endif
.if !defined(WITHOUT_MYSQL) .if defined(WITH_MYSQL)
USE_MYSQL= yes USE_MYSQL= yes
CONFIGURE_ARGS+=--enable-mysql CONFIGURE_ARGS+=--enable-mysql
.endif .endif
.if !defined(WITHOUT_POSTGRESQL) .if defined(WITH_POSTGRESQL)
USE_PGSQL= yes USE_PGSQL= yes
CONFIGURE_ARGS+=--enable-postgresql CONFIGURE_ARGS+=--enable-postgresql
.endif .endif
@ -98,17 +98,17 @@ post-patch:
@${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${TOUCH} @${FIND} ${WRKSRC} -name "Makefile.in" | ${XARGS} ${TOUCH}
post-configure: post-configure:
.if defined(WITHOUT_XMMS) .if !defined(WITH_XMMS)
@${REINPLACE_CMD} -e '/XMMS /d' ${WRKSRC}/config.h @${REINPLACE_CMD} -e '/XMMS /d' ${WRKSRC}/config.h
@${REINPLACE_CMD} -e 's/xmmswrapper//g' ${WRKSRC}/amarok/src/vis/Makefile @${REINPLACE_CMD} -e 's/xmmswrapper//g' ${WRKSRC}/amarok/src/vis/Makefile
.endif .endif
.if defined(WITHOUT_LIBVISUAL) .if !defined(WITH_LIBVISUAL)
@${REINPLACE_CMD} -e '/LIBVISUAL /d' ${WRKSRC}/config.h @${REINPLACE_CMD} -e '/LIBVISUAL /d' ${WRKSRC}/config.h
@${REINPLACE_CMD} -e 's/libvisual//g' ${WRKSRC}/amarok/src/vis/Makefile @${REINPLACE_CMD} -e 's/libvisual//g' ${WRKSRC}/amarok/src/vis/Makefile
.endif .endif
post-install: post-install:
.if !defined(WITHOUT_LIBVISUAL) .if defined(WITH_LIBVISUAL)
@${CAT} ${PKGMESSAGE} @${CAT} ${PKGMESSAGE}
.endif .endif