mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-29 10:18:30 +00:00
Fix after _LICENSE_DIR_REL disappeared
/me reminds variables starting with _ are private and should not be used outside of the framework Reported by: jhale
This commit is contained in:
parent
338d5cfc7a
commit
22be8b5807
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=369064
@ -47,7 +47,7 @@ post-patch:
|
||||
${REINPLACE_CMD} -E 's|<a .[^>]+>License</a>|<abbr title="BSD 3-clause. License-file installation disabled">License</abbr>|'\
|
||||
${WRKSRC}/README.html
|
||||
.else
|
||||
${REINPLACE_CMD} -E 's|href="LICENSE.txt"|href="../../../${_LICENSE_DIR_REL}/BSD"|' \
|
||||
${REINPLACE_CMD} -E 's|href="LICENSE.txt"|href="../../../${_LICENSE_DIR:S,^${PREFIX}/,,}/BSD"|' \
|
||||
${WRKSRC}/README.html
|
||||
.endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user