diff options
author | wiz <wiz> | 2011-03-12 14:07:13 +0000 |
---|---|---|
committer | wiz <wiz> | 2011-03-12 14:07:13 +0000 |
commit | 885e0fcbdbb067f22c136ee6ee58831bd4bad679 (patch) | |
tree | 6b9cc97371ecb51ea0fbb7eb17a5b94d554cdbdb /mk/bsd.pkg.mk | |
parent | 3cd47f283f04d1d3dcfcc96f95b8c51733331f99 (diff) | |
download | pkgsrc-885e0fcbdbb067f22c136ee6ee58831bd4bad679.tar.gz |
Add MULTI variable, and add it to BUILD_DEFS, to more easily find
variable settings affecting binary packages.
From Aleksey Cheusov in PR 44695.
Diffstat (limited to 'mk/bsd.pkg.mk')
-rw-r--r-- | mk/bsd.pkg.mk | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/mk/bsd.pkg.mk b/mk/bsd.pkg.mk index 3317ed1d970..8fdbf22308d 100644 --- a/mk/bsd.pkg.mk +++ b/mk/bsd.pkg.mk @@ -1,4 +1,4 @@ -# $NetBSD: bsd.pkg.mk,v 1.1976 2011/02/07 10:32:32 wiz Exp $ +# $NetBSD: bsd.pkg.mk,v 1.1977 2011/03/12 14:07:13 wiz Exp $ # # This file is in the public domain. # @@ -205,6 +205,13 @@ _BUILD_DEFS+= PKG_OPTIONS PKG_FAIL_REASON+= "DEPOT_SUBDIR may not be empty." .endif +# Store the build options for multi-packages, i.e. packages that can +# be built with multiple versions of Apache, Python, Ruby, PHP etc. +# +.if defined(MULTI) +_BUILD_DEFS+= MULTI +.endif + # ZERO_FILESIZE_P exits with a successful return code if the given file # has zero length. # NONZERO_FILESIZE_P exits with a successful return code if the given file |