diff options
author | hira <hira> | 2006-11-12 15:13:56 +0000 |
---|---|---|
committer | hira <hira> | 2006-11-12 15:13:56 +0000 |
commit | c2114f02b77e52092abb96065d225dc9db5f54e8 (patch) | |
tree | 031e422c57de60803f7ae8fcfab58fd49bfcac53 | |
parent | 25fb990ec4a5f198f7dcb5319a215c8cfde7a47d (diff) | |
download | pkgsrc-c2114f02b77e52092abb96065d225dc9db5f54e8.tar.gz |
Add `uim' option, requested by Yamashiro, Jun <yamajun at ofug dot net>
in PR pkg/34596. It's disabled by default.
-rw-r--r-- | mk/defaults/options.description | 1 | ||||
-rw-r--r-- | x11/mlterm/Makefile | 4 | ||||
-rw-r--r-- | x11/mlterm/PLIST | 3 | ||||
-rw-r--r-- | x11/mlterm/options.mk | 15 |
4 files changed, 21 insertions, 2 deletions
diff --git a/mk/defaults/options.description b/mk/defaults/options.description index 0497033d9a2..7920e6bb3ca 100644 --- a/mk/defaults/options.description +++ b/mk/defaults/options.description @@ -301,6 +301,7 @@ trn-inn Use INN as NNTP client. trn-nntpclnt Use nntpclnt as NNTP client. truetype ucspi-ssl-perl Enable Perl support in ucspi-ssl. +uim Enable UIM support. unicode unixodbc Enable ODBC support via unixODBC. unrealircd-chroot Enable support for running in a chroot jail. diff --git a/x11/mlterm/Makefile b/x11/mlterm/Makefile index 4729da893a8..3561b3f064e 100644 --- a/x11/mlterm/Makefile +++ b/x11/mlterm/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.45 2006/06/12 10:37:24 hira Exp $ +# $NetBSD: Makefile,v 1.46 2006/11/12 15:13:56 hira Exp $ DISTNAME= mlterm-2.9.2 PKGREVISION= 4 @@ -32,6 +32,8 @@ CONFIGURE_ARGS+= --without-libiconv-prefix CONFIGURE_ARGS+= --without-libintl-prefix CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFBASE:Q} +.include "options.mk" + SUBST_CLASSES+= link SUBST_MESSAGE.link= Fixing hardcoded paths and link options. SUBST_STAGE.link= post-patch diff --git a/x11/mlterm/PLIST b/x11/mlterm/PLIST index 7432e35c021..703a66226c0 100644 --- a/x11/mlterm/PLIST +++ b/x11/mlterm/PLIST @@ -1,4 +1,4 @@ -@comment $NetBSD: PLIST,v 1.16 2006/04/17 07:07:49 jlam Exp $ +@comment $NetBSD: PLIST,v 1.17 2006/11/12 15:13:56 hira Exp $ bin/mlcc bin/mlclient bin/mlterm @@ -6,6 +6,7 @@ lib/libkik.la lib/libmkf.la lib/mlterm/libathena.la lib/mlterm/libim-kbd.la +${UIM}lib/mlterm/libim-uim.la lib/mlterm/libmotif.la lib/mlterm/libmozmodern.la lib/mlterm/libnext.la diff --git a/x11/mlterm/options.mk b/x11/mlterm/options.mk new file mode 100644 index 00000000000..ec96d367ce1 --- /dev/null +++ b/x11/mlterm/options.mk @@ -0,0 +1,15 @@ +# $NetBSD: options.mk,v 1.1 2006/11/12 15:13:56 hira Exp $ + +PKG_OPTIONS_VAR= PKG_OPTIONS.mlterm +PKG_SUPPORTED_OPTIONS= uim +PKG_SUGGESTED_OPTIONS= + +.include "../../mk/bsd.options.mk" + +.if !empty(PKG_OPTIONS:Muim) +.include "../../inputmethod/uim/buildlink3.mk" +CONFIGURE_ARGS+= --enable-uim +PLIST_SUBST+= UIM= +.else +PLIST_SUBST+= UIM="@comment " +.endif |