From cbdc7448f752874db5aa12020188b52a911d6cae Mon Sep 17 00:00:00 2001 From: Rong-En Fan Date: Sun, 3 Dec 2006 13:29:29 +0000 Subject: [PATCH] - Respect X11BASE Reported by: pointyhat --- japanese/Wnn6-lib/Makefile | 6 ++++++ japanese/Wnn7-lib/Makefile | 6 ++++++ 2 files changed, 12 insertions(+) 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 )