summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTodd T. Fries <todd@cvs.openbsd.org>2001-08-24 14:43:29 +0000
committerTodd T. Fries <todd@cvs.openbsd.org>2001-08-24 14:43:29 +0000
commit7849ba8892b9628d636e26fd16f3f573837e3c71 (patch)
tree2ecb97427211e8ebecc17b8ab8a8992e802c4241
parent1f158f879707e3d9c62e5243a404606f978110a1 (diff)
implement $PATCHORIG, a variable with the ability to change from .orig to
another suffix for 'update-patches' and 'patch', since there are some distfiles that have foo and foo.orig already; ok espie@
-rw-r--r--share/man/man5/bsd.port.mk.514
1 files changed, 13 insertions, 1 deletions
diff --git a/share/man/man5/bsd.port.mk.5 b/share/man/man5/bsd.port.mk.5
index fa4b031444e..d20ad28b84a 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.46 2001/08/20 05:57:55 mpech Exp $
+.\" $OpenBSD: bsd.port.mk.5,v 1.47 2001/08/24 14:43:28 todd Exp $
.\"
.\" Copyright (c) 2000 Marc Espie
.\"
@@ -699,6 +699,18 @@ Base location for packages built (default: ${PORTSDIR}/packages/${ARCH}).
Command to use to apply all patches.
Defaults to
.Pa /usr/bin/patch .
+.It Ev PATCHORIG
+Suffix used by using the '-b' option of
+.Xr patch 1
+(to determine original file suffix names) created
+from ${PATCHDIR}/patch-* and
+.Ar update-patches
+which generates the above patches looking for files with this suffix.
+Defaults to
+.Pa .orig .
+Set this if you have a port that already contains .orig files in the
+${DISTFILES} to something else, such as
+.Pa .pat.orig .
.It Ev PATCH_CASES
In the normal distpatch stage (when
.Ev PATCHFILES