diff options
author | xtraeme <xtraeme@pkgsrc.org> | 2003-10-03 18:31:18 +0000 |
---|---|---|
committer | xtraeme <xtraeme@pkgsrc.org> | 2003-10-03 18:31:18 +0000 |
commit | b9d43042246393c07654b18e06845b0e74ae9c52 (patch) | |
tree | 9ccd7bf00ffe59831b5a4e8e522a699f79f98b45 | |
parent | a36cfe4cb25992aa7f20d830d9d6386b86b6787d (diff) | |
download | pkgsrc-b9d43042246393c07654b18e06845b0e74ae9c52.tar.gz |
FreeBSD will not build the libsun audio plugin, so use PLIST_SUBST to
disable it. (Thanks wiz! :)
-rw-r--r-- | audio/libao/Makefile.common | 10 | ||||
-rw-r--r-- | audio/libao/PLIST | 8 |
2 files changed, 13 insertions, 5 deletions
diff --git a/audio/libao/Makefile.common b/audio/libao/Makefile.common index ff70d9fb2ec..5d0906809c4 100644 --- a/audio/libao/Makefile.common +++ b/audio/libao/Makefile.common @@ -1,4 +1,4 @@ -# $NetBSD: Makefile.common,v 1.1 2003/04/11 19:11:09 jmmv Exp $ +# $NetBSD: Makefile.common,v 1.2 2003/10/03 18:31:18 xtraeme Exp $ DISTNAME= libao-0.8.3 CATEGORIES= audio devel @@ -14,6 +14,14 @@ USE_BUILDLINK2= yes USE_GMAKE= yes USE_LIBTOOL= yes +.include "../../mk/bsd.prefs.mk" + +.if ${OPSYS} == "FreeBSD" +PLIST_SUBST+= LIBSUN="@comment " +.else +PLIST_SUBST+= LIBSUN="" +.endif + LIBTOOL_OVERRIDE= ${WRKSRC}/libtool CONFIGURE_ARGS+= --disable-alsa diff --git a/audio/libao/PLIST b/audio/libao/PLIST index ee3fb74af36..42fa14c6147 100644 --- a/audio/libao/PLIST +++ b/audio/libao/PLIST @@ -1,13 +1,13 @@ -@comment $NetBSD: PLIST,v 1.5 2002/09/22 17:10:24 mycroft Exp $ +@comment $NetBSD: PLIST,v 1.6 2003/10/03 18:31:18 xtraeme Exp $ include/ao/ao.h include/ao/os_types.h include/ao/plugin.h lib/ao/plugins-2/liboss.a lib/ao/plugins-2/liboss.la lib/ao/plugins-2/liboss.so -lib/ao/plugins-2/libsun.a -lib/ao/plugins-2/libsun.la -lib/ao/plugins-2/libsun.so +${LIBSUN}lib/ao/plugins-2/libsun.a +${LIBSUN}lib/ao/plugins-2/libsun.la +${LIBSUN}lib/ao/plugins-2/libsun.so lib/libao.a lib/libao.la lib/libao.so |