summaryrefslogtreecommitdiff
path: root/mk/ossaudio.buildlink2.mk
diff options
context:
space:
mode:
authorjlam <jlam>2002-10-03 20:24:33 +0000
committerjlam <jlam>2002-10-03 20:24:33 +0000
commit0ba41471e9108ae079b7c2f8b305a7ead087a4ba (patch)
treec1317665e198482c87b3f6a5fdae92311a43b830 /mk/ossaudio.buildlink2.mk
parent4d6405717e387b9b8b2c749ee89e201327581a0e (diff)
downloadpkgsrc-0ba41471e9108ae079b7c2f8b305a7ead087a4ba.tar.gz
Rename "OSS" variable to "HAVE_OSS".
Diffstat (limited to 'mk/ossaudio.buildlink2.mk')
-rw-r--r--mk/ossaudio.buildlink2.mk16
1 files changed, 8 insertions, 8 deletions
diff --git a/mk/ossaudio.buildlink2.mk b/mk/ossaudio.buildlink2.mk
index b69283e2577..4f2f107b4fc 100644
--- a/mk/ossaudio.buildlink2.mk
+++ b/mk/ossaudio.buildlink2.mk
@@ -1,13 +1,13 @@
-# $NetBSD: ossaudio.buildlink2.mk,v 1.7 2002/10/03 08:58:05 jlam Exp $
+# $NetBSD: ossaudio.buildlink2.mk,v 1.8 2002/10/03 20:24:33 jlam Exp $
#
# This file should be included by Makefiles for packages that use OSS.
-# By checking the value of OSS after including this file, it's possible to
-# check whether audio/oss is installed, or if ossaudio OSS emulation should
-# be used instead:
+# By checking the value of HAVE_OSS after including this file, it's possible
+# to check whether audio/oss is installed, or if ossaudio OSS emulation
+# should be used instead:
#
# .include "../../mk/ossaudio.buildlink2.mk"
#
-# .if defined(OSS) && (${OSS} == "YES")
+# .if defined(HAVE_OSS) && (${HAVE_OSS} == "YES")
# CONFIGURE_ENV+= ac_cv_libossaudio__oss_ioctl=no
# .endif
#
@@ -16,10 +16,10 @@ OSSAUDIO_BUILDLINK2_MK= # defined
.include "../../mk/bsd.prefs.mk"
-_OSS_INSTALLED!= if ${PKG_INFO} -qe oss; then echo YES; else echo NO; fi
-OSS= ${_OSS_INSTALLED}
+_HAVE_OSS!= if ${PKG_INFO} -qe oss; then echo YES; else echo NO; fi
+HAVE_OSS?= ${_HAVE_OSS}
-.if ${OSS} == "YES"
+.if defined(HAVE_OSS) && (${HAVE_OSS} == "YES")
. include "../../audio/oss/buildlink2.mk"
.else
BUILDLINK_PREFIX.ossaudio= /usr