summaryrefslogtreecommitdiff
path: root/CHANGES
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2016-08-17 09:11:08 +0000
committerMathieu Arnold <mat@FreeBSD.org>2016-08-17 09:11:08 +0000
commit642bf72f2742aca6846abd7b1b794f6e6228d785 (patch)
tree16b60ab8fc707c56fd010a1332dd069eb8d17ae4 /CHANGES
parentSplit the PLIST_SUB_SED variable in smaller logical groups. (diff)
Add regexps capacity to PLIST_SUB.
This adds the possibility to use regular expressions for the makeplist stage of the PLIST_SUB life. From time to time, the values are too generic, and they get in the way of other stuff. This adds the possibility to have a `VAR_regex=regex` that will be used instead of the `VAR=string` to search for possible replacements. For example, in lang/perl5*, there is PERL_ARCH=mach, which will get replaced in paths if a file is called, say "machine", will end up being "%%PERL_ARCH%%ine". Adding PERL_ARCH_regex="\bmach\b" will ensure only full words are replaced, so machine will stay machine, but "lib/mach/foo "will still be replaced by "lib/%%PERL_ARCH%%/foo". Reviewed by: bdrewery Sponsored by: Absolight Differential Revision: https://reviews.freebsd.org/D7335
Diffstat (limited to 'CHANGES')
-rw-r--r--CHANGES18
1 files changed, 18 insertions, 0 deletions
diff --git a/CHANGES b/CHANGES
index 68914e2d5353..0bbff468ba76 100644
--- a/CHANGES
+++ b/CHANGES
@@ -10,6 +10,24 @@ in the release notes and/or placed into UPDATING.
All ports committers are allowed to commit to this file.
+20160317:
+AUTHOR: mat@FreeBSD.org
+
+ This adds the possibility to use regular expressions for the makeplist stage
+ of the PLIST_SUB life.
+
+ From time to time, the values are too generic, and they get in the way of
+ other stuff.
+
+ This adds the possibility to have a `VAR_regex=regex` that will be used
+ instead of the `VAR=string` to search for possible replacements.
+
+ For example, in lang/perl5*, there is PERL_ARCH=mach, which will get replaced
+ in paths if a file is called, say "machine", will end up being
+ "%%PERL_ARCH%%ine". Adding PERL_ARCH_regex="\bmach\b" will ensure only full
+ words are replaced, so machine will stay machine, but "lib/mach/foo "will
+ still be replaced by "lib/%%PERL_ARCH%%/foo".
+
20160803:
AUTHOR: mat@FreeBSD.org