aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--chinese/zhcon/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/chinese/zhcon/Makefile b/chinese/zhcon/Makefile
index a3dc93650584..e1da8b2dfd06 100644
--- a/chinese/zhcon/Makefile
+++ b/chinese/zhcon/Makefile
@@ -21,10 +21,12 @@ GNU_CONFIGURE= yes
CONFIGURE_ARGS= --with-included-gettext=${LOCALBASE}
USE_GMAKE= yes
USE_REINPLACE= yes
-REINPLACE_ARGS= # empty
-USE_XLIB= yes
ONLY_FOR_ARCHS= i386
MAN1= zhcon.1
+post-patch:
+ ${REINPLACE_CMD} -e 's,${LOCALBASE}/share/locale,${PREFIX}/share/locale,g' \
+ ${WRKSRC}/*
+
.include <bsd.port.mk>