1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-24 00:45:52 +00:00

Add appropriate --disable-* CONFIGURE_ARGS to disable things such as esound

support from being built when esound is already installed on the system.

Reported by:	alane
Approved by:	timeout from maintainer
This commit is contained in:
Joe Marcus Clarke 2002-09-14 19:51:37 +00:00
parent ec07f1dbb0
commit 57f07d16a7
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=66308
2 changed files with 8 additions and 2 deletions

View File

@ -42,6 +42,7 @@ LIB_DEPENDS+= mikmod.2:${PORTSDIR}/audio/libmikmod
INPUT_PLUGINS+= mikmod
PLIST_SUB+= MIKMODPLUGIN:=""
.else
CONFIGURE_ARGS+= --disable-mikmod
PLIST_SUB+= MIKMODPLUGIN:="@comment "
.endif
@ -50,6 +51,7 @@ LIB_DEPENDS+= vorbis.2:${PORTSDIR}/audio/libvorbis
INPUT_PLUGINS+= vorbis
PLIST_SUB+= VORBISPLUGIN:=""
.else
CONFIGURE_ARGS+= --disable-vorbis
PLIST_SUB+= VORBISPLUGIN:="@comment "
.endif
@ -63,6 +65,7 @@ PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-esound
PKGNAMESUFFIX= -esound
.endif
.else
CONFIGURE_ARGS+= --disable-esd
PLIST_SUB+= ESDPLUGIN:="@comment "
.endif
@ -75,7 +78,7 @@ PKGNAMESUFFIX= -gnome
.endif
PLIST_SUB+= DATADIR="share/gnome"
.else
CONFIGURE_ARGS= --without-gnome
CONFIGURE_ARGS+= --without-gnome
PLIST_SUB+= DATADIR="share"
.endif

View File

@ -42,6 +42,7 @@ LIB_DEPENDS+= mikmod.2:${PORTSDIR}/audio/libmikmod
INPUT_PLUGINS+= mikmod
PLIST_SUB+= MIKMODPLUGIN:=""
.else
CONFIGURE_ARGS+= --disable-mikmod
PLIST_SUB+= MIKMODPLUGIN:="@comment "
.endif
@ -50,6 +51,7 @@ LIB_DEPENDS+= vorbis.2:${PORTSDIR}/audio/libvorbis
INPUT_PLUGINS+= vorbis
PLIST_SUB+= VORBISPLUGIN:=""
.else
CONFIGURE_ARGS+= --disable-vorbis
PLIST_SUB+= VORBISPLUGIN:="@comment "
.endif
@ -63,6 +65,7 @@ PKGNAMESUFFIX:= ${PKGNAMESUFFIX}-esound
PKGNAMESUFFIX= -esound
.endif
.else
CONFIGURE_ARGS+= --disable-esd
PLIST_SUB+= ESDPLUGIN:="@comment "
.endif
@ -75,7 +78,7 @@ PKGNAMESUFFIX= -gnome
.endif
PLIST_SUB+= DATADIR="share/gnome"
.else
CONFIGURE_ARGS= --without-gnome
CONFIGURE_ARGS+= --without-gnome
PLIST_SUB+= DATADIR="share"
.endif