diff options
author | dmcmahill <dmcmahill@pkgsrc.org> | 2001-07-07 17:10:36 +0000 |
---|---|---|
committer | dmcmahill <dmcmahill@pkgsrc.org> | 2001-07-07 17:10:36 +0000 |
commit | 7190c9bfae30f9767dbde752a6e2702d28d554a4 (patch) | |
tree | fa7465cee329409a60a4d7e25a49df6bd7dc2b4f /mk | |
parent | bfa7b3976ac4c6a8bd7d49c61aef95204c1a0170 (diff) | |
download | pkgsrc-7190c9bfae30f9767dbde752a6e2702d28d554a4.tar.gz |
add OSVERSION_SPECIFIC to BUILD_DEFS if defined so it ends up in the binary
package. This way we can look at a binary package and determine what versions
of the OS it may run on.
Diffstat (limited to 'mk')
-rw-r--r-- | mk/bsd.pkg.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index de12a4551a5..3a956063c7d 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.781 2001/07/05 17:22:59 jlam Exp $ +# $NetBSD: bsd.pkg.mk,v 1.782 2001/07/07 17:10:36 dmcmahill Exp $ # # This file is in the public domain. # @@ -1111,6 +1111,10 @@ BUILD_DEFS+= OBJECT_FMT LICENSE RESTRICTED BUILD_DEFS+= NO_SRC_ON_FTP NO_SRC_ON_CDROM BUILD_DEFS+= NO_BIN_ON_FTP NO_BIN_ON_CDROM +.if defined(OSVERSION_SPECIFIC) +BUILD_DEFS+= OSVERSION_SPECIFIC +.endif # OSVERSION_SPECIFIC + .if !target(all) all: build .endif |