summaryrefslogtreecommitdiff
path: root/share/man
diff options
context:
space:
mode:
authorMarc Espie <espie@cvs.openbsd.org>2001-07-17 16:12:52 +0000
committerMarc Espie <espie@cvs.openbsd.org>2001-07-17 16:12:52 +0000
commit2d3fbf5e4af46c8fc23cc3416c3d87a66369d969 (patch)
treeb6f37d5e9e121d88e1359016be70b02f0f7ea689 /share/man
parent814abfd75012f80e0a5ea7d9c6d1b6ebc08bdce9 (diff)
Document ERRORS
Diffstat (limited to 'share/man')
-rw-r--r--share/man/man5/bsd.port.mk.513
1 files changed, 12 insertions, 1 deletions
diff --git a/share/man/man5/bsd.port.mk.5 b/share/man/man5/bsd.port.mk.5
index ce22d5ad467..3d0a1420cf8 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.39 2001/07/09 20:28:00 aaron Exp $
+.\" $OpenBSD: bsd.port.mk.5,v 1.40 2001/07/17 16:12:51 espie Exp $
.\"
.\" Copyright (c) 2000 Marc Espie
.\"
@@ -414,6 +414,17 @@ Used to display
.Sq ===> Configuring for foo
and similar informative messages.
Override to turn off, for instance.
+.It Ev ERRORS
+List of errors found while parsing the port's Makefile.
+Display the errors before making any target, and if any error starts with
+.Qq Fatal: ,
+do not make anything.
+For instance:
+.Bd -literal -indent
+\&.if !defined(COMMENT)
+ERRORS+="Fatal: Missing comment"
+\&.endif
+.Ed
.It Ev EXTRACT_CASES
In the normal extraction stage (when
.Ev EXTRACT_ONLY