summaryrefslogtreecommitdiff
path: root/share
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2010-07-06 12:42:56 +0000
committerMarc Espie <espie@cvs.openbsd.org>2010-07-06 12:42:56 +0000
commit8771e9b62472078ad77a8eb3dd3343497f0923d5 (patch)
treebc04f0cc214a6447aedb862e161fbf20c28eb2af /share
parent1f783a856e72156e8289a93d6d3cd185c0b7d0c1 (diff)
document that ONLY_FOR_ARCHS and NOT_FOR_ARCHS are now subpackage-dependent
(and why !)
Diffstat (limited to 'share')
-rw-r--r--share/man/man5/bsd.port.mk.518
1 files changed, 16 insertions, 2 deletions
diff --git a/share/man/man5/bsd.port.mk.5 b/share/man/man5/bsd.port.mk.5
index e37fd8cd7a7..6458da8e27c 100644
--- a/share/man/man5/bsd.port.mk.5
+++ b/share/man/man5/bsd.port.mk.5
@@ -1,4 +1,4 @@
-.\" $OpenBSD: bsd.port.mk.5,v 1.250 2010/07/04 17:30:30 espie Exp $
+.\" $OpenBSD: bsd.port.mk.5,v 1.251 2010/07/06 12:42:55 espie Exp $
.\"
.\" Copyright (c) 2000-2008 Marc Espie
.\"
@@ -24,7 +24,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
-.Dd $Mdocdate: July 4 2010 $
+.Dd $Mdocdate: July 6 2010 $
.Dt BSD.PORT.MK 5
.Os
.Sh NAME
@@ -2641,6 +2641,8 @@ The following variables are subpackage dependent:
.Ev RUN_DEPENDS ,
.Ev WANTLIB ,
.Ev LIB_DEPENDS ,
+.Ev ONLY_FOR_ARCHS ,
+.Ev NOT_FOR_ARCHS ,
.Ev PREFIX ,
.Ev CATEGORIES ,
.Ev MESSAGE ,
@@ -2708,6 +2710,18 @@ and invoking
is the same as invoking
subupdate
for all subpackages.
+.Pp
+.Ev ONLY_FOR_ARCHS
+and
+.Ev NOT_FOR_ARCHS
+interact with
+.Ev MULTI_PACKAGES .
+The infrastructure will automatically filter subpackages that are not suitable for the
+current architecture.
+Thus,
+.Ev MULTI_PACKAGES
+should list all subpackages, even things not buildable on the current architecture,
+for indexing purposes.
.Sh THE GENERATION OF PACKAGE INFORMATION
Starting after
.Ox 4.1