ossinfo: SunOS fixes
This commit is contained in:
parent
185e7bc4bf
commit
28859b75bc
|
@ -1,4 +1,4 @@
|
|||
# $NetBSD: Makefile.common,v 1.4 2022/05/05 08:28:16 nia Exp $
|
||||
# $NetBSD: Makefile.common,v 1.5 2023/11/09 19:20:59 nia Exp $
|
||||
# Common Makefile logic for commands included with the OSSv4 distribution.
|
||||
|
||||
# used by audio/ossinfo/Makefile
|
||||
|
@ -31,6 +31,13 @@ LDFLAGS+= ${LIBOSSAUDIO}
|
|||
PKG_SKIP_REASON+= "Requires OSSv4 support"
|
||||
.endif
|
||||
|
||||
# These OSSv4 definitions are missing in Sun's "boomer",
|
||||
# for whatever reason. However, they're the same as
|
||||
# PCM_ENABLE_(INPUT|OUTPUT), which are defined.
|
||||
CFLAGS.SunOS+= -DOSS_OPEN_READ=0x00000001
|
||||
CFLAGS.SunOS+= -DOSS_OPEN_WRITE=0x00000002
|
||||
CFLAGS.SunOS+= -DOSS_OPEN_READWRITE=0x00000003
|
||||
|
||||
SUBST_CLASSES+= paths
|
||||
SUBST_STAGE.paths= pre-configure
|
||||
SUBST_FILES.paths= cmd/${PKGBASE}/${PKGBASE}.man
|
||||
|
|
Loading…
Reference in New Issue