aboutsummaryrefslogtreecommitdiff
path: root/chinese
diff options
context:
space:
mode:
authorYen-Ming Lee <leeym@FreeBSD.org>2004-08-05 00:13:49 +0000
committerYen-Ming Lee <leeym@FreeBSD.org>2004-08-05 00:13:49 +0000
commita25f6777312ab415fe8ce796d983c4c50d55b450 (patch)
tree475c7826cce5db69cdf690e045a9f54d2f0edb99 /chinese
parente2f3a5977a43e18804798b30da3571f580b6f1da (diff)
downloadports-a25f6777312ab415fe8ce796d983c4c50d55b450.tar.gz
ports-a25f6777312ab415fe8ce796d983c4c50d55b450.zip
Notes
Diffstat (limited to 'chinese')
-rw-r--r--chinese/zhcon/Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/chinese/zhcon/Makefile b/chinese/zhcon/Makefile
index 112bc493a1a8..a914e96c643c 100644
--- a/chinese/zhcon/Makefile
+++ b/chinese/zhcon/Makefile
@@ -25,6 +25,7 @@ ONLY_FOR_ARCHS= i386
MAN1= zhcon.1
post-patch:
- ${REINPLACE_CMD} -e 's,/usr/local,${PREFIX},g' ${WRKSRC}/configure
+ @${REINPLACE_CMD} -Ee 's,(\s*=\s*)("?)/usr/local([^"]*)("?),\1\2${PREFIX}\3\4,g' \
+ ${WRKSRC}/${CONFIGURE_SCRIPT}
.include <bsd.port.mk>