-.\" $OpenBSD: bsd.port.mk.5,v 1.576 2023/02/19 14:37:54 sdk Exp $
+.\" $OpenBSD: bsd.port.mk.5,v 1.577 2023/04/05 09:46:27 edd Exp $
.\"
.\" Copyright (c) 2000-2008 Marc Espie
.\"
.\" (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: February 19 2023 $
+.Dd $Mdocdate: April 5 2023 $
.Dt BSD.PORT.MK 5
.Os
.Sh NAME
Defaults to
.Pa .bak.orig .
Distinct from
-.Pa .orig
+.Ev PATCHORIG
to avoid confusing
.Cm update-patches .
.It Ev DIST_SUBDIR
.Pa ${PATCHDIR}/${PATCH_LIST}
by looking for files using this suffix.
Defaults to
-.Pa .orig .
-For a port that already contains
-.Pa .orig
-files in the ${DISTFILES},
-set this to something else, such as
-.Pa .pat.orig .
+.Pa .orig.port .
+In the unlikely event that one of the ${DISTFILES} already contains
+.Pa .orig.port
+files, set this to something else, such as
+.Pa .orig.obsdport .
See also
.Cm distpatch ,
.Ev DISTORIG .