summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--japanese/Wnn6-lib/Makefile4
-rw-r--r--japanese/Wnn7-lib/Makefile4
2 files changed, 8 insertions, 0 deletions
diff --git a/japanese/Wnn6-lib/Makefile b/japanese/Wnn6-lib/Makefile
index fe3479b4d7a1..44f755420ec6 100644
--- a/japanese/Wnn6-lib/Makefile
+++ b/japanese/Wnn6-lib/Makefile
@@ -13,7 +13,11 @@ DISTNAME= Wnn6-SDK-sources
MAINTAINER= taoka@FreeBSD.org
+.if ${XFREE86_VERSION} == 3
BUILD_DEPENDS= imake:${PORTSDIR}/devel/imake
+.else
+BUILD_DEPENDS= imake:${PORTSDIR}/devel/imake-4
+.endif
WRKSRC= ${WRKDIR}/src/contrib/im/Xsi
DOCDIR= ${PREFIX}/share/doc/ja-Wnn6-lib
diff --git a/japanese/Wnn7-lib/Makefile b/japanese/Wnn7-lib/Makefile
index fe3479b4d7a1..44f755420ec6 100644
--- a/japanese/Wnn7-lib/Makefile
+++ b/japanese/Wnn7-lib/Makefile
@@ -13,7 +13,11 @@ DISTNAME= Wnn6-SDK-sources
MAINTAINER= taoka@FreeBSD.org
+.if ${XFREE86_VERSION} == 3
BUILD_DEPENDS= imake:${PORTSDIR}/devel/imake
+.else
+BUILD_DEPENDS= imake:${PORTSDIR}/devel/imake-4
+.endif
WRKSRC= ${WRKDIR}/src/contrib/im/Xsi
DOCDIR= ${PREFIX}/share/doc/ja-Wnn6-lib