pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/sane-backends Honor inet6 option.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/c259104c1376
branches:  trunk
changeset: 534402:c259104c1376
user:      obache <obache%pkgsrc.org@localhost>
date:      Sat Oct 20 03:49:17 2007 +0000

description:
Honor inet6 option.
Based on patch provided by Yakovetsky Vladimir in PR 37150.

diffstat:

 graphics/sane-backends/options.mk |  10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diffs (25 lines):

diff -r bfb125acf064 -r c259104c1376 graphics/sane-backends/options.mk
--- a/graphics/sane-backends/options.mk Sat Oct 20 00:19:34 2007 +0000
+++ b/graphics/sane-backends/options.mk Sat Oct 20 03:49:17 2007 +0000
@@ -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
 ###



Home | Main Index | Thread Index | Old Index