diff options
-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 |