mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-16 03:24:07 +00:00
- Switch to egrep from grep to avoid GNU extensions in basic
regular expressions. PR: 218615 Submitted by: Kyle Evans <bsdports@kyle-evans.net>
This commit is contained in:
parent
46829e25ee
commit
3c64608ce8
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=438664
@ -35,7 +35,7 @@ post-patch:
|
||||
's|#!/bin/bash|#!/bin/sh|g'
|
||||
@${GREP} -lR "ginstall-info" ${WRKSRC} | ${XARGS} ${REINPLACE_CMD} -e \
|
||||
's|ginstall-info|install-info|g'
|
||||
@${GREP} -lR "%%[[:alpha:]]\+%%" ${WRKSRC} |${XARGS} ${REINPLACE_CMD} \
|
||||
@${EGREP} -lR "%%[[:alpha:]]+%%" ${WRKSRC} |${XARGS} ${REINPLACE_CMD} \
|
||||
-e "s|%%PREFIX%%|${PREFIX}|g" \
|
||||
-e "s|%%LOCALBASE%%|${LOCALBASE}|g" \
|
||||
-e "s|%%EXAMPLESDIR%%|\$${PREFIX}/${EXAMPLESDIR_REL}|g" \
|
||||
|
Loading…
Reference in New Issue
Block a user