Prevent using gawk which depends on gettext in configure scripts

Reported by:	rene, avg
Tested by:	rene
This commit is contained in:
Baptiste Daroussin 2013-03-18 15:51:39 +00:00
parent 5e191b87d1
commit 85228d9f12
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=314581
2 changed files with 5 additions and 1 deletions

View File

@ -51,5 +51,9 @@ PATCH_DIST_STRIP+= -p1
post-patch:
@${REINPLACE_CMD} -e 's:ei_ksc5601:ei_euc_kr:g' ${WRKSRC}/lib/aliases.h
@${REINPLACE_CMD} -e 's:gawk:awk:g' ${WRKSRC}/configure \
${WRKSRC}/libcharset/configure \
${WRKSRC}/preload/configure
.include <bsd.port.mk>

View File

@ -62,7 +62,7 @@ pre-extract:
post-patch:
@${FIND} ${WRKSRC} -name configure -print | ${XARGS} \
${REINPLACE_CMD} -e 's|mkdir gmkdir|mkdir|'
${REINPLACE_CMD} -e 's|mkdir gmkdir|mkdir|; s|gawk|awk|'
.if defined (NOPORTDOCS)
.for dir in runtime tools
@${REINPLACE_CMD} -e 's|^SUBDIRS = doc|SUBDIRS =|' \