1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-27 05:10:36 +00:00

Implement EXTRA_PATCH_TREE.

PR:		215726
Reported by:	julian
This commit is contained in:
Mathieu Arnold 2017-01-16 16:47:05 +00:00
parent 1cc9fcd1c7
commit 49152b839d
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=431681
3 changed files with 21 additions and 0 deletions

12
CHANGES
View File

@ -10,6 +10,18 @@ in the release notes and/or placed into UPDATING.
All ports committers are allowed to commit to this file.
20160116:
AUTHOR: mat@FreeBSD.org
A new EXTRA_PATCH_TREE has been added. Points to a directory hierarchy with
the same layout as the ports tree, where local patches can be found. This
allows a third party to keep their patches in some other source control
system if needed.
For example, if you have EXTRA_PATCH_TREE=/patches, when building
lang/perl5.24, any file named patch-* in /patches/lang/perl5.24/ will be used
to patch the Perl distribution.
20160116:
AUTHOR: mat@FreeBSD.org

View File

@ -115,3 +115,7 @@ fi
patch_from_directory "${dp_PATCHDIR}" "${dp_OPSYS}"
if [ -n "${dp_EXTRA_PATCH_TREE}" ]; then
patch_from_directory "${dp_EXTRA_PATCH_TREE}/${dp_PKGORIGIN}" "local"
fi

View File

@ -749,6 +749,11 @@ FreeBSD_MAINTAINER= portmgr@FreeBSD.org
# The patches specified by this variable will be
# applied after the normal distribution patches but
# before those in ${PATCHDIR}.
# EXTRA_PATCH_TREE - where to find extra 'out-of-tree' patches
# Points to a directory hierarchy with the same layout
# as the ports tree, where local patches can be found.
# This allows a third party to keep their patches in
# some other source control system if needed.
# PATCH_WRKSRC - Directory to apply patches in.
# Default: ${WRKSRC}
#