aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--japanese/Wnn6-lib/Makefile6
-rw-r--r--japanese/Wnn7-lib/Makefile6
2 files changed, 12 insertions, 0 deletions
diff --git a/japanese/Wnn6-lib/Makefile b/japanese/Wnn6-lib/Makefile
index c690760dae54..0a246b73605a 100644
--- a/japanese/Wnn6-lib/Makefile
+++ b/japanese/Wnn6-lib/Makefile
@@ -21,6 +21,12 @@ DOCDIR= ${PREFIX}/share/doc/ja-Wnn6-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 )
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 )