Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/mlterm x11/mlterm: fix pkglint warnings



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c889744a872b
branches:  trunk
changeset: 434653:c889744a872b
user:      rillig <rillig%pkgsrc.org@localhost>
date:      Sat Jun 20 07:50:45 2020 +0000

description:
x11/mlterm: fix pkglint warnings

diffstat:

 x11/mlterm/PLIST      |  16 ++++++++--------
 x11/mlterm/options.mk |  15 +++++++--------
 2 files changed, 15 insertions(+), 16 deletions(-)

diffs (86 lines):

diff -r 069f3462a074 -r c889744a872b x11/mlterm/PLIST
--- a/x11/mlterm/PLIST  Sat Jun 20 07:38:54 2020 +0000
+++ b/x11/mlterm/PLIST  Sat Jun 20 07:50:45 2020 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.44 2020/04/27 15:45:43 tsutsui Exp $
+@comment $NetBSD: PLIST,v 1.45 2020/06/20 07:50:45 rillig Exp $
 bin/mlcc
 bin/mlclient
 bin/mlclientx
@@ -17,23 +17,23 @@
 lib/mlterm/libathena.la
 ${PLIST.bidi}lib/mlterm/libctl_bidi.la
 ${PLIST.ind}lib/mlterm/libctl_iscii.la
+${PLIST.fbfiles}${PLIST.canna}lib/mlterm/libim-canna-fb.la
 ${PLIST.canna}lib/mlterm/libim-canna.la
-${PLIST.fbfiles}${PLIST.canna}lib/mlterm/libim-canna-fb.la
 ${PLIST.fbfiles}${PLIST.fcitx}lib/mlterm/libim-fcitx-fb.la
 ${PLIST.fcitx}lib/mlterm/libim-fcitx.la
+${PLIST.fbfiles}${PLIST.ibus}lib/mlterm/libim-ibus-fb.la
 ${PLIST.ibus}lib/mlterm/libim-ibus.la
-${PLIST.fbfiles}${PLIST.ibus}lib/mlterm/libim-ibus-fb.la
+${PLIST.fbfiles}lib/mlterm/libim-kbd-fb.la
 lib/mlterm/libim-kbd.la
-${PLIST.fbfiles}lib/mlterm/libim-kbd-fb.la
+${PLIST.fbfiles}${PLIST.m17nlib}lib/mlterm/libim-m17nlib-fb.la
 ${PLIST.m17nlib}lib/mlterm/libim-m17nlib.la
-${PLIST.fbfiles}${PLIST.m17nlib}lib/mlterm/libim-m17nlib-fb.la
 ${PLIST.scim}lib/mlterm/libim-scim.la
+${PLIST.fbfiles}${PLIST.skk}lib/mlterm/libim-skk-fb.la
 ${PLIST.skk}lib/mlterm/libim-skk.la
-${PLIST.fbfiles}${PLIST.skk}lib/mlterm/libim-skk-fb.la
+${PLIST.fbfiles}${PLIST.uim}lib/mlterm/libim-uim-fb.la
 ${PLIST.uim}lib/mlterm/libim-uim.la
-${PLIST.fbfiles}${PLIST.uim}lib/mlterm/libim-uim-fb.la
+${PLIST.fbfiles}${PLIST.wnn}lib/mlterm/libim-wnn-fb.la
 ${PLIST.wnn}lib/mlterm/libim-wnn.la
-${PLIST.fbfiles}${PLIST.wnn}lib/mlterm/libim-wnn-fb.la
 ${PLIST.ind}lib/mlterm/libind_assamese.la
 ${PLIST.ind}lib/mlterm/libind_bengali.la
 ${PLIST.ind}lib/mlterm/libind_gujarati.la
diff -r 069f3462a074 -r c889744a872b x11/mlterm/options.mk
--- a/x11/mlterm/options.mk     Sat Jun 20 07:38:54 2020 +0000
+++ b/x11/mlterm/options.mk     Sat Jun 20 07:50:45 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: options.mk,v 1.18 2020/04/27 15:45:43 tsutsui Exp $
+# $NetBSD: options.mk,v 1.19 2020/06/20 07:50:45 rillig Exp $
 
 PKG_OPTIONS_VAR=       PKG_OPTIONS.mlterm
 PKG_SUPPORTED_OPTIONS= cairo canna fcitx fribidi gdk_pixbuf2 ibus libind m17nlib mlterm-fb mlterm-x68kgrf otl scim skk uim wnn4 xft2
@@ -12,22 +12,22 @@
 PLIST_VARS+=           bidi cairo canna fb fbfiles fcitx ibus ind m17nlib otl scim skk uim wscons wnn x68kgrf xft2
 
 .if !empty(PKG_OPTIONS:Mmlterm-fb)
-. if ${OPSYS} == "NetBSD"
-.  if ${MACHINE_ARCH} == "m68k"
+.  if ${OPSYS} == "NetBSD"
+.    if ${MACHINE_ARCH} == "m68k"
 PKG_SUGGESTED_OPTIONS+=        mlterm-x68kgrf
 CONFIGURE_ARGS+=       --with-gui=xlib,wscons,x68kgrf
 SPECIAL_PERMS+=                ${PREFIX:Q}/bin/mlterm-x68kgrf ${SETUID_ROOT_PERMS}
 PLIST.x68kgrf=         yes
-.  else                # NetBSD && !m68k
+.    else      # NetBSD && !m68k
 CONFIGURE_ARGS+=       --with-gui=xlib,wscons
-.  endif       # NetBSD
+.    endif
 SPECIAL_PERMS+=                ${PREFIX:Q}/bin/mlterm-wscons ${SETUID_ROOT_PERMS}
 PLIST.wscons=          yes
-. else         # !NetBSD (i.e. FreeBSD or Linux)
+.  else                # !NetBSD (i.e. FreeBSD or Linux)
 CONFIGURE_ARGS+=       --with-gui=xlib,fb
 SPECIAL_PERMS+=                ${PREFIX:Q}/bin/mlterm-fb ${SETUID_ROOT_PERMS}
 PLIST.fb=              yes
-. endif
+.  endif
 CONF_FILES+=           ${EGDIR}/font-fb ${PKG_SYSCONFDIR}/font-fb
 PLIST.fbfiles=         yes
 .endif
@@ -35,7 +35,6 @@
 .if !empty(PKG_OPTIONS:Mcairo)
 .include "../../graphics/cairo/buildlink3.mk"
 PLIST.cairo=           yes
-.else
 .endif
 
 .if !empty(PKG_OPTIONS:Mcanna)



Home | Main Index | Thread Index | Old Index