summaryrefslogtreecommitdiff
path: root/ftp
diff options
context:
space:
mode:
authorEdwin Groothuis <edwin@FreeBSD.org>2002-11-14 11:15:01 +0000
committerEdwin Groothuis <edwin@FreeBSD.org>2002-11-14 11:15:01 +0000
commit9b20aabe3e50cb613bd75053bb29bb968ca38efb (patch)
treee089095754ec2ea3bd35827383167cb064f6673f /ftp
parentNew port: Jakarta Commons Logging library. (diff)
Replaced Perl-RE by one working for sed.
Noticed by: bento
Notes
Notes: svn path=/head/; revision=70105
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 bbbbb23ef195..2a88a48ed098 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*