aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrafan <rafan@FreeBSD.org>2006-12-03 21:29:29 +0800
committerrafan <rafan@FreeBSD.org>2006-12-03 21:29:29 +0800
commitf9615eaebb4e36ffcba1eef79b1eb3518f27d837 (patch)
tree24c713c6ffe257aba55e15000d17a4f39969d83e
parentfd42ab5890989f7f3bb68bfa37b179a941724f5b (diff)
downloadfreebsd-ports-gnome-f9615eaebb4e36ffcba1eef79b1eb3518f27d837.tar.gz
freebsd-ports-gnome-f9615eaebb4e36ffcba1eef79b1eb3518f27d837.tar.zst
freebsd-ports-gnome-f9615eaebb4e36ffcba1eef79b1eb3518f27d837.zip
- Respect X11BASE
Reported by: pointyhat
-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 )