pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/audio/ossinfo ossinfo: understand symlinks properly on...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/69407ecdb471
branches:  trunk
changeset: 452376:69407ecdb471
user:      nia <nia%pkgsrc.org@localhost>
date:      Sun May 09 09:08:27 2021 +0000

description:
ossinfo: understand symlinks properly on NetBSD

diffstat:

 audio/ossinfo/Makefile |  9 ++++++++-
 1 files changed, 8 insertions(+), 1 deletions(-)

diffs (23 lines):

diff -r ef20bda84ced -r 69407ecdb471 audio/ossinfo/Makefile
--- a/audio/ossinfo/Makefile    Sun May 09 09:07:11 2021 +0000
+++ b/audio/ossinfo/Makefile    Sun May 09 09:08:27 2021 +0000
@@ -1,11 +1,18 @@
-# $NetBSD: Makefile,v 1.2 2021/05/09 08:38:20 nia Exp $
+# $NetBSD: Makefile,v 1.3 2021/05/09 09:08:27 nia Exp $
 
 .include "Makefile.common"
 
 PKGNAME=       ossinfo-${DISTNAME:S/oss-v//1:S/-src-bsd//1:S/-/./g}
+PKGREVISION=   1
 CATEGORIES=    audio
 
 MAINTAINER=    nia%NetBSD.org@localhost
 COMMENT=       Display OSSv4 device information
 
+SUBST_CLASSES+=                oss
+SUBST_STAGE.oss=       pre-configure
+SUBST_MESSAGE.oss=     Correcting the path to the OSS device.
+SUBST_FILES.oss+=      cmd/ossinfo/ossinfo.c
+SUBST_SED.oss+=                -e "s,/dev/dsp,${DEVOSSAUDIO},g"
+
 .include "../../mk/bsd.pkg.mk"



Home | Main Index | Thread Index | Old Index