diff options
author | obache <obache@pkgsrc.org> | 2007-10-20 03:49:17 +0000 |
---|---|---|
committer | obache <obache@pkgsrc.org> | 2007-10-20 03:49:17 +0000 |
commit | d96cbcf30c4ad3c6ca9630e218e0bb0b685b77fc (patch) | |
tree | 1e9bbca162a5e8f0919fa748831d6a9ea6c1c55f /graphics | |
parent | 6bc362ffcb409d2389209e17732ba92f16b2d959 (diff) | |
download | pkgsrc-d96cbcf30c4ad3c6ca9630e218e0bb0b685b77fc.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 ### |