From 1eddd1c08614f8fd1c79241c6bf6546cfbb6b51f Mon Sep 17 00:00:00 2001 From: leeym Date: Thu, 5 Aug 2004 00:13:49 +0000 Subject: set localedir to PREFIX/share/locale to be synchronized with PLIST --- chinese/zhcon/Makefile | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'chinese/zhcon') 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 -- cgit