summaryrefslogtreecommitdiff
path: root/graphics/sane-backends
diff options
context:
space:
mode:
Diffstat (limited to 'graphics/sane-backends')
-rw-r--r--graphics/sane-backends/options.mk10
1 files changed, 8 insertions, 2 deletions
diff --git a/graphics/sane-backends/options.mk b/graphics/sane-backends/options.mk
index 577044ec233..a1a474a7a30 100644
--- a/graphics/sane-backends/options.mk
+++ b/graphics/sane-backends/options.mk
@@ -1,13 +1,19 @@
-# $NetBSD: options.mk,v 1.4 2007/02/22 19:26:36 wiz Exp $
+# $NetBSD: options.mk,v 1.5 2007/10/20 03:49:17 obache Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.sane-backends
-PKG_SUPPORTED_OPTIONS= sane-backends-hp3900
+PKG_SUPPORTED_OPTIONS= inet6 sane-backends-hp3900
PKG_SUGGESTED_OPTIONS= #defined
.include "../../mk/bsd.options.mk"
# Package-specific option-handling
+.if !empty(PKG_OPTIONS:Minet6)
+CONFIGURE_ARGS+= --enable-ipv6
+.else
+CONFIGURE_ARGS+= --disable-ipv6
+.endif
+
###
### hp3900 support
###