diff options
author | jlam <jlam@pkgsrc.org> | 2002-10-03 20:31:14 +0000 |
---|---|---|
committer | jlam <jlam@pkgsrc.org> | 2002-10-03 20:31:14 +0000 |
commit | 7b96c8d97cb09f08aff019f5120e961bb955df69 (patch) | |
tree | ab1b156115dc5686cd9686b512ee8f7689cc69d2 /mk/ossaudio.buildlink2.mk | |
parent | ab22ba864a7a9099e6fd264946aa40cb90ca8292 (diff) | |
download | pkgsrc-7b96c8d97cb09f08aff019f5120e961bb955df69.tar.gz |
Add USE_OSS to BUILD_DEFS if it's defined.
Diffstat (limited to 'mk/ossaudio.buildlink2.mk')
-rw-r--r-- | mk/ossaudio.buildlink2.mk | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/mk/ossaudio.buildlink2.mk b/mk/ossaudio.buildlink2.mk index 4f2f107b4fc..431ae0d4a1c 100644 --- a/mk/ossaudio.buildlink2.mk +++ b/mk/ossaudio.buildlink2.mk @@ -1,4 +1,4 @@ -# $NetBSD: ossaudio.buildlink2.mk,v 1.8 2002/10/03 20:24:33 jlam Exp $ +# $NetBSD: ossaudio.buildlink2.mk,v 1.9 2002/10/03 20:31:14 jlam Exp $ # # This file should be included by Makefiles for packages that use OSS. # By checking the value of HAVE_OSS after including this file, it's possible @@ -16,8 +16,12 @@ OSSAUDIO_BUILDLINK2_MK= # defined .include "../../mk/bsd.prefs.mk" +.if defined(USE_OSS) +BUILD_DEFS+= USE_OSS +.endif + _HAVE_OSS!= if ${PKG_INFO} -qe oss; then echo YES; else echo NO; fi -HAVE_OSS?= ${_HAVE_OSS} +HAVE_OSS?= ${_HAVE_OSS} .if defined(HAVE_OSS) && (${HAVE_OSS} == "YES") . include "../../audio/oss/buildlink2.mk" |