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 | |
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')
-rw-r--r-- | mk/defs.Darwin.mk | 3 | ||||
-rw-r--r-- | mk/defs.Linux.mk | 3 | ||||
-rw-r--r-- | mk/defs.NetBSD.mk | 3 | ||||
-rw-r--r-- | mk/defs.SunOS.mk | 3 | ||||
-rw-r--r-- | mk/ossaudio.buildlink.mk | 4 |
5 files changed, 10 insertions, 6 deletions
diff --git a/mk/defs.Darwin.mk b/mk/defs.Darwin.mk index a3e9bee994b..cae98446554 100644 --- a/mk/defs.Darwin.mk +++ b/mk/defs.Darwin.mk @@ -1,4 +1,4 @@ -# $NetBSD: defs.Darwin.mk,v 1.12 2001/11/21 13:54:14 agc Exp $ +# $NetBSD: defs.Darwin.mk,v 1.13 2001/11/21 13:57:31 agc Exp $ # # Variable definitions for the Darwin operating system. @@ -65,6 +65,7 @@ _DO_LIBINTL_CHECKS= yes # perform checks for valid libintl _DO_SHLIB_CHECKS= no # on installation, fixup PLIST for shared libs _IMAKE_MAKE= ${MAKE} # program which gets invoked by imake _OPSYS_HAS_MANZ= yes # MANZ controls gzipping of man pages +_OPSYS_HAS_OSSAUDIO= no # libossaudio is available _PATCH_BACKUP_ARG= -z # switch to patch(1) for backup file _PREFORMATTED_MAN_DIR= cat # directory where catman pages are _USE_RPATH= no # don't add rpath to LDFLAGS diff --git a/mk/defs.Linux.mk b/mk/defs.Linux.mk index d39afbaaa5b..6440c274259 100644 --- a/mk/defs.Linux.mk +++ b/mk/defs.Linux.mk @@ -1,4 +1,4 @@ -# $NetBSD: defs.Linux.mk,v 1.18 2001/11/21 13:54:14 agc Exp $ +# $NetBSD: defs.Linux.mk,v 1.19 2001/11/21 13:57:31 agc Exp $ # # Variable definitions for the Linux operating system. @@ -69,6 +69,7 @@ _DO_LIBINTL_CHECKS= no # perform checks for valid libintl _DO_SHLIB_CHECKS= no # on installation, fixup PLIST for shared libs _IMAKE_MAKE= ${MAKE} # program which gets invoked by imake _OPSYS_HAS_MANZ= no # no MANZ for gzipping of man pages +_OPSYS_HAS_OSSAUDIO= no # libossaudio is available _PATCH_BACKUP_ARG= -z # switch to patch(1) for backup file _PREFORMATTED_MAN_DIR= cat # directory where catman pages are _USE_RPATH= yes # add rpath to LDFLAGS diff --git a/mk/defs.NetBSD.mk b/mk/defs.NetBSD.mk index 3999243fcf2..1e1ee95ed09 100644 --- a/mk/defs.NetBSD.mk +++ b/mk/defs.NetBSD.mk @@ -1,4 +1,4 @@ -# $NetBSD: defs.NetBSD.mk,v 1.16 2001/11/21 13:54:14 agc Exp $ +# $NetBSD: defs.NetBSD.mk,v 1.17 2001/11/21 13:57:31 agc Exp $ # # Variable definitions for the NetBSD operating system. @@ -74,6 +74,7 @@ _DO_LIBINTL_CHECKS= yes # perform checks for valid libintl _DO_SHLIB_CHECKS= yes # fixup PLIST for shared libs/run ldconfig _IMAKE_MAKE= ${MAKE} # program which gets invoked by imake _OPSYS_HAS_MANZ= yes # MANZ controls gzipping of man pages +_OPSYS_HAS_OSSAUDIO= yes # libossaudio is available _PATCH_BACKUP_ARG= -b # switch to patch(1) to provide a backup file _PREFORMATTED_MAN_DIR= cat # directory where catman pages are _USE_RPATH= yes # add rpath to LDFLAGS diff --git a/mk/defs.SunOS.mk b/mk/defs.SunOS.mk index ef0d8ec498c..dbc78d24ad5 100644 --- a/mk/defs.SunOS.mk +++ b/mk/defs.SunOS.mk @@ -1,4 +1,4 @@ -# $NetBSD: defs.SunOS.mk,v 1.15 2001/11/21 13:54:14 agc Exp $ +# $NetBSD: defs.SunOS.mk,v 1.16 2001/11/21 13:57:31 agc Exp $ # # Variable definitions for the SunOS/Solaris operating system. @@ -76,6 +76,7 @@ _DO_LIBINTL_CHECKS= yes # perform checks for valid libintl _DO_SHLIB_CHECKS= yes # fixup PLIST for shared libs _IMAKE_MAKE= /usr/ccs/bin/make # program which gets invoked by imake _OPSYS_HAS_MANZ= no # no MANZ for gzipping of man pages +_OPSYS_HAS_OSSAUDIO= no # libossaudio is available _PATCH_BACKUP_ARG= -z # switch to patch(1) for backup file _PREFORMATTED_MAN_DIR= man # directory where catman pages are _USE_RPATH= yes # add rpath to LDFLAGS 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.* |