1
0
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:
Ashish SHUKLA 2017-04-16 16:43:23 +00:00
parent 46829e25ee
commit 3c64608ce8
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=438664

View File

@ -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" \