pkgsrc/graphics/sane-backends/options.mk
triaxx 0d40b60214 sane-backends: Update to 1.0.32
pkgsrc changes:
---------------
  * Set nls option to default enabled to avoid forgetting new .mo files in PLIST
    when updating.
  * Remove patch-backend_genesys_low.cpp since it has been fixed in 1.0.31.
  * Add textproc/libxml2 missing dependency thanks to verifypc.

upstream changes:
-----------------
The changes are listed in ChangeLog.
2022-01-04 16:04:39 +00:00

30 lines
664 B
Makefile

# $NetBSD: options.mk,v 1.12 2022/01/04 16:04:39 triaxx Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.sane-backends
PKG_SUPPORTED_OPTIONS= inet6 nls snmp
PKG_SUGGESTED_OPTIONS= inet6 nls
.include "../../mk/bsd.options.mk"
PLIST_VARS+= nls
.if !empty(PKG_OPTIONS:Minet6)
CONFIGURE_ARGS+= --enable-ipv6
.else
CONFIGURE_ARGS+= --disable-ipv6
.endif
.if !empty(PKG_OPTIONS:Mnls)
CONFIGURE_ARGS+= --enable-nls
PLIST.nls= yes
.include "../../devel/gettext-lib/buildlink3.mk"
.else
CONFIGURE_ARGS+= --disable-nls
.endif
.if !empty(PKG_OPTIONS:Msnmp)
CONFIGURE_ARGS+= --with-snmp=yes
.include "../../net/net-snmp/buildlink3.mk"
.else
CONFIGURE_ARGS+= --with-snmp=no
.endif