From d123ee746bfbb40254b1d181097da9581d9df9e6 Mon Sep 17 00:00:00 2001 From: obache Date: Sat, 20 Oct 2007 03:49:17 +0000 Subject: Honor inet6 option. Based on patch provided by Yakovetsky Vladimir in PR 37150. --- graphics/sane-backends/options.mk | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'graphics/sane-backends') 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 ### -- cgit v1.2.3