summaryrefslogtreecommitdiff
path: root/audio/libao/Makefile
diff options
context:
space:
mode:
authorChristian Weisgerber <naddy@FreeBSD.org>2002-08-23 15:23:17 +0000
committerChristian Weisgerber <naddy@FreeBSD.org>2002-08-23 15:23:17 +0000
commit2a0e767c9fcfc3f26c88a5daa60c6087dec4b7f7 (patch)
tree89706d4d3f1c7a673045781b21d0f72996811bdb /audio/libao/Makefile
parentUpgrade to 2.13. (diff)
* Use GNOMENG for ESounD.
* Kill .la files.
Notes
Notes: svn path=/head/; revision=64888
Diffstat (limited to 'audio/libao/Makefile')
-rw-r--r--audio/libao/Makefile15
1 files changed, 8 insertions, 7 deletions
diff --git a/audio/libao/Makefile b/audio/libao/Makefile
index 3579208865b6..42a7e0803632 100644
--- a/audio/libao/Makefile
+++ b/audio/libao/Makefile
@@ -17,9 +17,9 @@ MASTER_SITES= ftp://ftp.linuxpowered.com/pub/Vorbis/unix/ \
MAINTAINER= naddy@FreeBSD.org
-WANT_ESOUND= yes
-
-GNU_CONFIGURE= yes
+USE_GNOMENG= yes
+WANT_GNOME= yes
+USE_LIBTOOL= yes
INSTALLS_SHLIB= yes
.if defined(NOPORTDOCS)
@@ -32,12 +32,13 @@ MAN5= libao.conf.5
.include <bsd.port.pre.mk>
-.if defined(HAVE_ESOUND)
-USE_ESOUND= yes
-PLIST_SUB= ESOUND=""
+.if ${HAVE_GNOME:Mesound}
+USE_GNOME+= esound
+PLIST_SUB+= ESOUND=""
+PKGNAMESUFFIX= -esound
.else
-PLIST_SUB= ESOUND="@comment "
CONFIGURE_ARGS+= --disable-esd
+PLIST_SUB+= ESOUND="@comment "
.endif
# XXX This needs a better check.