pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/libao-oss libao-oss: Link with -lossaudio



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e540af3f7e31
branches:  trunk
changeset: 345679:e540af3f7e31
user:      nia <nia%pkgsrc.org@localhost>
date:      Sun Dec 15 23:15:01 2019 +0000

description:
libao-oss: Link with -lossaudio

Bump PKGREVISION

diffstat:

 audio/libao-oss/Makefile |  12 ++++++++++--
 1 files changed, 10 insertions(+), 2 deletions(-)

diffs (35 lines):

diff -r 2dbbdb351d9c -r e540af3f7e31 audio/libao-oss/Makefile
--- a/audio/libao-oss/Makefile  Sun Dec 15 22:10:00 2019 +0000
+++ b/audio/libao-oss/Makefile  Sun Dec 15 23:15:01 2019 +0000
@@ -1,8 +1,9 @@
-# $NetBSD: Makefile,v 1.11 2019/11/24 00:35:57 nia Exp $
+# $NetBSD: Makefile,v 1.12 2019/12/15 23:15:01 nia Exp $
 
 .include "../../audio/libao/Makefile.common"
 
 PKGNAME=       ${DISTNAME:S/libao/libao-oss/}
+PKGREVISION=   1
 
 COMMENT+=      (OSS plugin)
 
@@ -14,6 +15,14 @@
 BUILD_DIRS=            src/plugins/oss
 INSTALL_DIRS=          src/plugins/oss
 
+.include "../../mk/oss.buildlink3.mk"
+
+.if ${OSS_TYPE} != "none"
+LDFLAGS+=              ${LIBOSSAUDIO}
+.else
+PKG_SKIP_REASON=       "OSS not available"
+.endif
+
 SUBST_CLASSES+=                oss
 SUBST_MESSAGE.oss=     Fixing paths to OSS devices.
 SUBST_STAGE.oss=       pre-configure
@@ -26,5 +35,4 @@
 _LIBAO_BUILDING_PLUGIN=        yes
 
 .include "../../audio/libao/buildlink3.mk"
-.include "../../mk/oss.buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index