1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-31 05:41:08 +00:00

Add WITHOUT_ARTS knob. Furthermore, it takes precedence over WITH_ARTS

if defined at the same time

PR:		62363
Submitted by:	Piotr Smyrak <piotr.smyrak@heron.pl>
This commit is contained in:
Mario Sergio Fujikawa Ferreira 2004-03-20 02:32:21 +00:00
parent e81325906f
commit 32c05e2fb2
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=104693
2 changed files with 18 additions and 12 deletions

View File

@ -131,8 +131,8 @@ WITH_GNOMEVFS= yes
WITH_AALIB=yes
.endif
# arts
.if exists(${LOCALBASE}/lib/libartsc.so.0)
# aRts
.if exists(${LOCALBASE}/lib/libartsc.so.0) && !defined(WITHOUT_ARTS)
WITH_ARTS=yes
.endif
@ -294,8 +294,8 @@ CONFIGURE_ARGS+= --with-aalib-prefix=${LOCALBASE} \
PLIST_SUB+= AALIB=""
.endif
# arts
.ifndef(WITH_ARTS)
# aRts
.if (!defined(WITH_ARTS) || defined(WITHOUT_ARTS))
CONFIGURE_ARGS+= --disable-arts \
--disable-artsc \
--disable-artstest
@ -631,9 +631,12 @@ pre-everything::
@${ECHO_MSG} '===>'
@${ECHO_MSG} '===> Define WITH_AALIB to enable aalib Video plugin'
.endif
.ifndef(WITH_ARTS)
.ifdef(WITH_ARTS)
@${ECHO_MSG} '===>'
@${ECHO_MSG} '===> Define WITH_ARTS to enable arts Audio plugin'
@${ECHO_MSG} '===> Define WITHOUT_ARTS to disable aRts Audio plugin'
.else
@${ECHO_MSG} '===>'
@${ECHO_MSG} '===> Define WITH_ARTS to enable aRts Audio plugin'
.endif
.ifndef(WITH_AVIFILE)
@${ECHO_MSG} '===>'

View File

@ -131,8 +131,8 @@ WITH_GNOMEVFS= yes
WITH_AALIB=yes
.endif
# arts
.if exists(${LOCALBASE}/lib/libartsc.so.0)
# aRts
.if exists(${LOCALBASE}/lib/libartsc.so.0) && !defined(WITHOUT_ARTS)
WITH_ARTS=yes
.endif
@ -294,8 +294,8 @@ CONFIGURE_ARGS+= --with-aalib-prefix=${LOCALBASE} \
PLIST_SUB+= AALIB=""
.endif
# arts
.ifndef(WITH_ARTS)
# aRts
.if (!defined(WITH_ARTS) || defined(WITHOUT_ARTS))
CONFIGURE_ARGS+= --disable-arts \
--disable-artsc \
--disable-artstest
@ -631,9 +631,12 @@ pre-everything::
@${ECHO_MSG} '===>'
@${ECHO_MSG} '===> Define WITH_AALIB to enable aalib Video plugin'
.endif
.ifndef(WITH_ARTS)
.ifdef(WITH_ARTS)
@${ECHO_MSG} '===>'
@${ECHO_MSG} '===> Define WITH_ARTS to enable arts Audio plugin'
@${ECHO_MSG} '===> Define WITHOUT_ARTS to disable aRts Audio plugin'
.else
@${ECHO_MSG} '===>'
@${ECHO_MSG} '===> Define WITH_ARTS to enable aRts Audio plugin'
.endif
.ifndef(WITH_AVIFILE)
@${ECHO_MSG} '===>'