aboutsummaryrefslogtreecommitdiffstats
path: root/japanese/Wnn7-lib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'japanese/Wnn7-lib/Makefile')
-rw-r--r--japanese/Wnn7-lib/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/japanese/Wnn7-lib/Makefile b/japanese/Wnn7-lib/Makefile
index e5cf3e3c6986..4883ade5f1c9 100644
--- a/japanese/Wnn7-lib/Makefile
+++ b/japanese/Wnn7-lib/Makefile
@@ -22,6 +22,12 @@ DOCDIR= ${PREFIX}/share/doc/ja-Wnn7-lib
USE_LDCONFIG= yes
+post-patch:
+ @${REINPLACE_CMD} -e 's,/usr/X11R6,${X11BASE},g' \
+ ${WRKSRC}/config/Project.tmpl \
+ ${WRKSRC}/config/X11.tmpl \
+ ${WRKSRC}/Makefile.ini
+
# Warning: we cannot use USE_IMAKE.
do-build:
( cd ${WRKSRC} ; make World -f Makefile.ini )