pkgsrc-Changes archive

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

CVS commit: pkgsrc/graphics/sane-backends



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Tue May 15 14:58:08 UTC 2018

Modified Files:
        pkgsrc/graphics/sane-backends: PLIST options.mk

Log Message:
sane-backends: Handle nls correctly.


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 pkgsrc/graphics/sane-backends/PLIST
cvs rdiff -u -r1.9 -r1.10 pkgsrc/graphics/sane-backends/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/graphics/sane-backends/PLIST
diff -u pkgsrc/graphics/sane-backends/PLIST:1.32 pkgsrc/graphics/sane-backends/PLIST:1.33
--- pkgsrc/graphics/sane-backends/PLIST:1.32    Sun Feb 25 21:22:07 2018
+++ pkgsrc/graphics/sane-backends/PLIST Tue May 15 14:58:08 2018
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.32 2018/02/25 21:22:07 wiz Exp $
+@comment $NetBSD: PLIST,v 1.33 2018/05/15 14:58:08 jperkin Exp $
 bin/gamma4scanimage
 bin/sane-config
 bin/sane-find-scanner
@@ -7,6 +7,28 @@ bin/umax_pp
 include/sane/sane.h
 include/sane/saneopts.h
 lib/libsane.la
+${PLIST.nls}share/locale/bg/LC_MESSAGES/sane-backends.mo
+${PLIST.nls}share/locale/cs/LC_MESSAGES/sane-backends.mo
+${PLIST.nls}share/locale/da/LC_MESSAGES/sane-backends.mo
+${PLIST.nls}share/locale/de/LC_MESSAGES/sane-backends.mo
+${PLIST.nls}share/locale/en@boldquot/LC_MESSAGES/sane-backends.mo
+${PLIST.nls}share/locale/en@quot/LC_MESSAGES/sane-backends.mo
+${PLIST.nls}share/locale/en_GB/LC_MESSAGES/sane-backends.mo
+${PLIST.nls}share/locale/eo/LC_MESSAGES/sane-backends.mo
+${PLIST.nls}share/locale/es/LC_MESSAGES/sane-backends.mo
+${PLIST.nls}share/locale/fi/LC_MESSAGES/sane-backends.mo
+${PLIST.nls}share/locale/fr/LC_MESSAGES/sane-backends.mo
+${PLIST.nls}share/locale/gl/LC_MESSAGES/sane-backends.mo
+${PLIST.nls}share/locale/hu/LC_MESSAGES/sane-backends.mo
+${PLIST.nls}share/locale/it/LC_MESSAGES/sane-backends.mo
+${PLIST.nls}share/locale/ja/LC_MESSAGES/sane-backends.mo
+${PLIST.nls}share/locale/nb/LC_MESSAGES/sane-backends.mo
+${PLIST.nls}share/locale/nl/LC_MESSAGES/sane-backends.mo
+${PLIST.nls}share/locale/pl/LC_MESSAGES/sane-backends.mo
+${PLIST.nls}share/locale/pt/LC_MESSAGES/sane-backends.mo
+${PLIST.nls}share/locale/ru/LC_MESSAGES/sane-backends.mo
+${PLIST.nls}share/locale/sv/LC_MESSAGES/sane-backends.mo
+${PLIST.nls}share/locale/uk/LC_MESSAGES/sane-backends.mo
 lib/pkgconfig/sane-backends.pc
 lib/sane/libsane-abaton.la
 lib/sane/libsane-agfafocus.la

Index: pkgsrc/graphics/sane-backends/options.mk
diff -u pkgsrc/graphics/sane-backends/options.mk:1.9 pkgsrc/graphics/sane-backends/options.mk:1.10
--- pkgsrc/graphics/sane-backends/options.mk:1.9        Tue Jun 12 15:45:56 2012
+++ pkgsrc/graphics/sane-backends/options.mk    Tue May 15 14:58:08 2018
@@ -1,12 +1,12 @@
-# $NetBSD: options.mk,v 1.9 2012/06/12 15:45:56 wiz Exp $
+# $NetBSD: options.mk,v 1.10 2018/05/15 14:58:08 jperkin Exp $
 
 PKG_OPTIONS_VAR=               PKG_OPTIONS.sane-backends
-PKG_SUPPORTED_OPTIONS=         inet6 snmp
+PKG_SUPPORTED_OPTIONS=         inet6 nls snmp
 PKG_SUGGESTED_OPTIONS=         inet6
 
 .include "../../mk/bsd.options.mk"
 
-# Package-specific option-handling
+PLIST_VARS+=   nls
 
 .if !empty(PKG_OPTIONS:Minet6)
 CONFIGURE_ARGS+=       --enable-ipv6
@@ -14,6 +14,13 @@ CONFIGURE_ARGS+=     --enable-ipv6
 CONFIGURE_ARGS+=       --disable-ipv6
 .endif
 
+.if !empty(PKG_OPTIONS:Mnls)
+CONFIGURE_ARGS+=       --enable-nls
+PLIST.nls=             yes
+.else
+CONFIGURE_ARGS+=       --disable-nls
+.endif
+
 .if !empty(PKG_OPTIONS:Msnmp)
 CONFIGURE_ARGS+=       --with-snmp=yes
 .include "../../net/net-snmp/buildlink3.mk"



Home | Main Index | Thread Index | Old Index