aboutsummaryrefslogtreecommitdiffstats
path: root/ftp
diff options
context:
space:
mode:
authoredwin <edwin@FreeBSD.org>2002-11-14 19:15:01 +0800
committeredwin <edwin@FreeBSD.org>2002-11-14 19:15:01 +0800
commit6ae1b685f9a49573032befae886ad462a7ffc7dc (patch)
tree7b5cd6b3464c7a93ddf333d4244e926d33afc16c /ftp
parent5137fdd387071bc36d2b3b27af53571ddf9f2901 (diff)
downloadfreebsd-ports-gnome-6ae1b685f9a49573032befae886ad462a7ffc7dc.tar.gz
freebsd-ports-gnome-6ae1b685f9a49573032befae886ad462a7ffc7dc.tar.zst
freebsd-ports-gnome-6ae1b685f9a49573032befae886ad462a7ffc7dc.zip
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 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*