summaryrefslogtreecommitdiffstats
path: root/ftp
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2002-11-14 11:15:01 +0000
committeredwin <edwin@FreeBSD.org>2002-11-14 11:15:01 +0000
commit6ae1b685f9a49573032befae886ad462a7ffc7dc (patch)
tree7b5cd6b3464c7a93ddf333d4244e926d33afc16c /ftp
parent5137fdd387071bc36d2b3b27af53571ddf9f2901 (diff)
downloadFreeBSD-ports-6ae1b685f9a49573032befae886ad462a7ffc7dc.zip
FreeBSD-ports-6ae1b685f9a49573032befae886ad462a7ffc7dc.tar.gz
Replaced Perl-RE by one working for sed.
Noticed by: bento
Diffstat (limited to 'ftp')
-rw-r--r--ftp/wget+ipv6/Makefile8
1 files changed, 4 insertions, 4 deletions
diff --git a/ftp/wget+ipv6/Makefile b/ftp/wget+ipv6/Makefile
index bbbbb23..2a88a48 100644
--- a/ftp/wget+ipv6/Makefile
+++ b/ftp/wget+ipv6/Makefile
@@ -48,10 +48,10 @@ post-patch:
(cd ${WRKSRC}; \
${MV} po/zh_TW.po po/zh_TW.po.utf-8; \
${LOCALBASE}/bin/iconv -f UTF-8 -t BIG5 po/zh_TW.po.utf-8 |\
- ${SED} -e 's/utf-8/big5/' |\
- ${SED} -e 's{([\x81-\xfe])\\}{$$1\\\\}g' |\
- ${SED} -e 's,\\\\([nt\"]),\\$$1,g' \
- > po/zh_TW.po)
+ ${SED} -e 's,utf-8,big5,' |\
+ ${SED} -Ee 's,([^[:print:]])\\,\1\\\\,g' |\
+ ${SED} -Ee 's,\\\\([nt"]),\\\1,g' \
+ > po/zh_TW.po)
pre-build:
@${RM} -f ${WRKSRC}/doc/wget.info*
OpenPOWER on IntegriCloud