pkgsrc-Changes archive

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

CVS commit: pkgsrc/audio/libao-oss



Module Name:    pkgsrc
Committed By:   nia
Date:           Sun Dec 15 23:15:01 UTC 2019

Modified Files:
        pkgsrc/audio/libao-oss: Makefile

Log Message:
libao-oss: Link with -lossaudio

Bump PKGREVISION


To generate a diff of this commit:
cvs rdiff -u -r1.11 -r1.12 pkgsrc/audio/libao-oss/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/audio/libao-oss/Makefile
diff -u pkgsrc/audio/libao-oss/Makefile:1.11 pkgsrc/audio/libao-oss/Makefile:1.12
--- pkgsrc/audio/libao-oss/Makefile:1.11        Sun Nov 24 00:35:57 2019
+++ pkgsrc/audio/libao-oss/Makefile     Sun Dec 15 23:15:01 2019
@@ -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 @@ CONFIGURE_ENV:=      ${CONFIGURE_ENV:S/ac_cv_
 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 @@ BUILDLINK_API_DEPENDS.libao+= libao>=0.8
 _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