pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/audio/libao FreeBSD will not build the libsun audio pl...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/ad0d87e09346
branches:  trunk
changeset: 462482:ad0d87e09346
user:      xtraeme <xtraeme%pkgsrc.org@localhost>
date:      Fri Oct 03 18:31:18 2003 +0000

description:
FreeBSD will not build the libsun audio plugin, so use PLIST_SUBST to
disable it. (Thanks wiz! :)

diffstat:

 audio/libao/Makefile.common |  10 +++++++++-
 audio/libao/PLIST           |   8 ++++----
 2 files changed, 13 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r 41f9b6cf04fa -r ad0d87e09346 audio/libao/Makefile.common
--- a/audio/libao/Makefile.common       Fri Oct 03 18:22:20 2003 +0000
+++ b/audio/libao/Makefile.common       Fri Oct 03 18:31:18 2003 +0000
@@ -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_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 -r 41f9b6cf04fa -r ad0d87e09346 audio/libao/PLIST
--- a/audio/libao/PLIST Fri Oct 03 18:22:20 2003 +0000
+++ b/audio/libao/PLIST Fri Oct 03 18:31:18 2003 +0000
@@ -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



Home | Main Index | Thread Index | Old Index