diff options
author | agc <agc@pkgsrc.org> | 2001-11-21 13:57:31 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 2001-11-21 13:57:31 +0000 |
commit | beda0b43f8703bc945cd0721d90dbb84b70d2192 (patch) | |
tree | 30290500d470a4366a48fb24d2b7659e4aabbc24 /mk/ossaudio.buildlink.mk | |
parent | 1b690b5a382a3b839afed86caf15e77752412c53 (diff) | |
download | pkgsrc-beda0b43f8703bc945cd0721d90dbb84b70d2192.tar.gz |
Add an _OPSYS_HAS_OSSAUDIO definition to the individual defs.${OPSYS}.mk
files, and use it in ossaudio.buildlink.mk. The definition shows whether
or not libossaudio is available in the OS.
Diffstat (limited to 'mk/ossaudio.buildlink.mk')
-rw-r--r-- | mk/ossaudio.buildlink.mk | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mk/ossaudio.buildlink.mk b/mk/ossaudio.buildlink.mk index d5f0d461587..a232902157b 100644 --- a/mk/ossaudio.buildlink.mk +++ b/mk/ossaudio.buildlink.mk @@ -1,4 +1,4 @@ -# $NetBSD: ossaudio.buildlink.mk,v 1.4 2001/08/23 13:31:00 jlam Exp $ +# $NetBSD: ossaudio.buildlink.mk,v 1.5 2001/11/21 13:57:31 agc Exp $ # # This Makefile fragment is included by packages that use OSS audio. # @@ -16,7 +16,7 @@ OSSAUDIO_BUILDLINK_MK= # defined .include "../../mk/bsd.buildlink.mk" .include "../../mk/bsd.prefs.mk" -.if ${OPSYS} == "NetBSD" +.if ${_OPSYS_HAS_OSSAUDIO} == "yes" BUILDLINK_PREFIX.ossaudio= /usr BUILDLINK_FILES.ossaudio= lib/libossaudio.* |