aboutsummaryrefslogtreecommitdiffstats
path: root/chinese/big5con
diff options
context:
space:
mode:
authorwill <will@FreeBSD.org>2001-01-08 01:49:52 +0800
committerwill <will@FreeBSD.org>2001-01-08 01:49:52 +0800
commit17fc78c61a40e51c25675da0e3d99e222c1abdd3 (patch)
treea8b19a050dd6847de35f8b185751c1b52138d171 /chinese/big5con
parent98a4931c0a8138d6f6fb6de52d4fd949a15ae520 (diff)
downloadfreebsd-ports-gnome-17fc78c61a40e51c25675da0e3d99e222c1abdd3.tar.gz
freebsd-ports-gnome-17fc78c61a40e51c25675da0e3d99e222c1abdd3.tar.zst
freebsd-ports-gnome-17fc78c61a40e51c25675da0e3d99e222c1abdd3.zip
Clean up inefficient perl invocations; use multiple REs in the same call.
Diffstat (limited to 'chinese/big5con')
-rw-r--r--chinese/big5con/Makefile3
1 files changed, 1 insertions, 2 deletions
diff --git a/chinese/big5con/Makefile b/chinese/big5con/Makefile
index bf24fd75299d..605b7f80bbcb 100644
--- a/chinese/big5con/Makefile
+++ b/chinese/big5con/Makefile
@@ -31,8 +31,7 @@ EXTRACT_ONLY= ${DISTNAME}.tgz
.include <bsd.port.pre.mk>
post-patch:
.if ${OSVERSION} > 500012
- @${PERL} -pi -e 's,machine/console.h>,sys/consio.h>\n#include\t<sys/kbio.h>\n,' ${WRKSRC}/include/*
- @${PERL} -pi -e 's,machine/console.h>,sys/consio.h>\n#include\t<sys/kbio.h>\n,' ${WRKSRC}/src/*
+ @${PERL} -pi -e 's,machine/console.h>,sys/consio.h>\n#include\t<sys/kbio.h>\n,' ${WRKSRC}/include/* ${WRKSRC}/src/*
.endif
pre-install:
@if [ ! -f ${PREFIX}/lib/fonts/kc16.smf ]; then \