aboutsummaryrefslogtreecommitdiff
path: root/japanese/Wnn7-lib
diff options
context:
space:
mode:
authorRong-En Fan <rafan@FreeBSD.org>2006-12-03 13:29:29 +0000
committerRong-En Fan <rafan@FreeBSD.org>2006-12-03 13:29:29 +0000
commitcbdc7448f752874db5aa12020188b52a911d6cae (patch)
tree676a0f90d5aeb282d0a1f2d4beb26996d052670f /japanese/Wnn7-lib
parentfb8592f0f20d3fb0de94784fbd78b14304899cbe (diff)
downloadports-cbdc7448f752874db5aa12020188b52a911d6cae.tar.gz
ports-cbdc7448f752874db5aa12020188b52a911d6cae.zip
- Respect X11BASE
Reported by: pointyhat
Notes
Notes: svn path=/head/; revision=178679
Diffstat (limited to 'japanese/Wnn7-lib')
-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 )