diff options
author | obache <obache> | 2007-10-20 03:49:17 +0000 |
---|---|---|
committer | obache <obache> | 2007-10-20 03:49:17 +0000 |
commit | d123ee746bfbb40254b1d181097da9581d9df9e6 (patch) | |
tree | 1e9bbca162a5e8f0919fa748831d6a9ea6c1c55f /graphics | |
parent | 52f01c660e0ccc3306ea24221e7426385a4888ba (diff) | |
download | pkgsrc-d123ee746bfbb40254b1d181097da9581d9df9e6.tar.gz |
Honor inet6 option.
Based on patch provided by Yakovetsky Vladimir in PR 37150.
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/sane-backends/options.mk | 10 |
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 ### |