To use wnn7 jserver, emcws must be recompiled and relinked

with libwnn7 which is installed by ports/japanese/Wnn7-lib.

PR:		ports/48174
Submitted by:	NAKAJI Hiroyuki <nakaji@jp.freebsd.org>
This commit is contained in:
Norikatsu Shigemura 2003-02-16 05:19:12 +00:00
parent 6ed054fabf
commit b61e91a310
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=75635
4 changed files with 24 additions and 8 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= emcws
PORTVERSION= 21.2
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= japanese editors ipv6
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= emacs
@ -31,7 +31,8 @@ USE_GMAKE= YES
EMACS_VER= 21.2
# Change these as you like.
WITH_WNN6?= YES
WITH_WNN6?= NO
WITH_WNN7?= YES
WITH_FREEWNN?= NO
WITH_CANNA?= YES
WITH_SJ3?= NO
@ -51,6 +52,12 @@ CONFIGURE_ARGS+=--with-wnn --with-wnn-includes=${LOCALBASE}/include/wnn6/wnn \
LIB_DEPENDS+= wnn6.2:${PORTSDIR}/japanese/Wnn6-lib
.endif
.if (${WITH_WNN7} == "yes" || ${WITH_WNN7} == "YES")
CONFIGURE_ARGS+=--with-wnn --with-wnn-includes=${LOCALBASE}/include/wnn7/wnn \
--with-wnn-libraries=${LOCALBASE}/lib/libwnn7.so
LIB_DEPENDS+= wnn7.1:${PORTSDIR}/japanese/Wnn7-lib
.endif
.if (${WITH_FREEWNN} == "yes" || ${WITH_FREEWNN} == "YES")
CONFIGURE_ARGS+=--with-wnn --with-wnn-includes=${LOCALBASE}/include/wnn \
--with-wnn-libraries=${LOCALBASE}/lib/libwnn.so
@ -93,7 +100,7 @@ EMCWS_ELCS= busyu.el \
wnn-client.el \
wnn-egg.el
.if (${WITH_WNN6} == "yes" || ${WITH_WNN6} == "YES") || (${WITH_FREEWNN} == "yes" || ${WITH_FREEWNN} == "YES")
.if (${WITH_WNN6} == "yes" || ${WITH_WNN6} == "YES") || (${WITH_WNN7} == "yes" || ${WITH_WNN7} == "YES") || (${WITH_FREEWNN} == "yes" || ${WITH_FREEWNN} == "YES")
EMCWS_ELCS+= egg.elc \
wnn-egg.elc
PLIST_SUB+= WITH_WNN=""

View File

@ -4,11 +4,12 @@
You can define which input method you use with following variables.
WITH_WNN6 to use Wnn6
WITH_WNN7 to use Wnn7
WITH_FREEWNN to use FreeWnn
WITH_CANNA to use Canna
WITH_SJ3 to use sj3
In default, WITH_WNN6 and WITH_CANNA are set.
In default, WITH_WNN7 and WITH_CANNA are set.
If you want to use Emcws with Canna and FreeWnn, run

View File

@ -7,7 +7,7 @@
PORTNAME= emcws
PORTVERSION= 21.2
PORTREVISION= 2
PORTREVISION= 3
CATEGORIES= japanese editors ipv6
MASTER_SITES= ${MASTER_SITE_GNU}
MASTER_SITE_SUBDIR= emacs
@ -31,7 +31,8 @@ USE_GMAKE= YES
EMACS_VER= 21.2
# Change these as you like.
WITH_WNN6?= YES
WITH_WNN6?= NO
WITH_WNN7?= YES
WITH_FREEWNN?= NO
WITH_CANNA?= YES
WITH_SJ3?= NO
@ -51,6 +52,12 @@ CONFIGURE_ARGS+=--with-wnn --with-wnn-includes=${LOCALBASE}/include/wnn6/wnn \
LIB_DEPENDS+= wnn6.2:${PORTSDIR}/japanese/Wnn6-lib
.endif
.if (${WITH_WNN7} == "yes" || ${WITH_WNN7} == "YES")
CONFIGURE_ARGS+=--with-wnn --with-wnn-includes=${LOCALBASE}/include/wnn7/wnn \
--with-wnn-libraries=${LOCALBASE}/lib/libwnn7.so
LIB_DEPENDS+= wnn7.1:${PORTSDIR}/japanese/Wnn7-lib
.endif
.if (${WITH_FREEWNN} == "yes" || ${WITH_FREEWNN} == "YES")
CONFIGURE_ARGS+=--with-wnn --with-wnn-includes=${LOCALBASE}/include/wnn \
--with-wnn-libraries=${LOCALBASE}/lib/libwnn.so
@ -93,7 +100,7 @@ EMCWS_ELCS= busyu.el \
wnn-client.el \
wnn-egg.el
.if (${WITH_WNN6} == "yes" || ${WITH_WNN6} == "YES") || (${WITH_FREEWNN} == "yes" || ${WITH_FREEWNN} == "YES")
.if (${WITH_WNN6} == "yes" || ${WITH_WNN6} == "YES") || (${WITH_WNN7} == "yes" || ${WITH_WNN7} == "YES") || (${WITH_FREEWNN} == "yes" || ${WITH_FREEWNN} == "YES")
EMCWS_ELCS+= egg.elc \
wnn-egg.elc
PLIST_SUB+= WITH_WNN=""

View File

@ -4,11 +4,12 @@
You can define which input method you use with following variables.
WITH_WNN6 to use Wnn6
WITH_WNN7 to use Wnn7
WITH_FREEWNN to use FreeWnn
WITH_CANNA to use Canna
WITH_SJ3 to use sj3
In default, WITH_WNN6 and WITH_CANNA are set.
In default, WITH_WNN7 and WITH_CANNA are set.
If you want to use Emcws with Canna and FreeWnn, run