mirror of
https://git.FreeBSD.org/ports.git
synced 2024-10-22 20:41:26 +00:00
Make sure the esd module is only built if wanted.
Submitted by: David Magda <dmagda@ee.ryerson.ca>
This commit is contained in:
parent
a2a3d9b1f4
commit
ce191f9f62
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=63290
@ -37,13 +37,16 @@ USE_ESOUND= yes
|
||||
PLIST_SUB= ESOUND=""
|
||||
.else
|
||||
PLIST_SUB= ESOUND="@comment "
|
||||
CONFIGURE_ARGS+= --disable-esd
|
||||
.endif
|
||||
|
||||
# XXX This needs a better check.
|
||||
.if exists(${LOCALBASE}/bin/artsc-config)
|
||||
LIB_DEPENDS= artsc.0:${PORTSDIR}/audio/arts
|
||||
PLIST_SUB+= ARTS=""
|
||||
.else
|
||||
PLIST_SUB+= ARTS="@comment "
|
||||
CONFIGURE_ARGS+= --disable-arts
|
||||
.endif
|
||||
|
||||
.include <bsd.port.post.mk>
|
||||
|
Loading…
Reference in New Issue
Block a user