Implement EXTRA_PATCH_TREE.
PR: 215726 Reported by: julian
This commit is contained in:
12
CHANGES
12
CHANGES
@@ -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
|
||||
|
||||
|
||||
@@ -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
|
||||
|
||||
|
||||
@@ -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}
|
||||
#
|
||||
|
||||
Reference in New Issue
Block a user