pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/xhost Update to xhost-1.0.2nb1: Explicitly pass in...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a10fedc8d2d5
branches:  trunk
changeset: 534276:a10fedc8d2d5
user:      abs <abs%pkgsrc.org@localhost>
date:      Mon Oct 15 14:39:46 2007 +0000

description:
Update to xhost-1.0.2nb1: Explicitly pass inet6 setting to configure - from Yakovetsky Vladimir in PR/37115

diffstat:

 x11/xhost/Makefile   |   5 ++++-
 x11/xhost/options.mk |  12 ++++++++++++
 2 files changed, 16 insertions(+), 1 deletions(-)

diffs (38 lines):

diff -r e793ac0c9f59 -r a10fedc8d2d5 x11/xhost/Makefile
--- a/x11/xhost/Makefile        Mon Oct 15 14:08:31 2007 +0000
+++ b/x11/xhost/Makefile        Mon Oct 15 14:39:46 2007 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.5 2007/08/05 21:25:54 joerg Exp $
+# $NetBSD: Makefile,v 1.6 2007/10/15 14:39:46 abs Exp $
 #
 
 DISTNAME=      xhost-1.0.2
+PKGREVISION=   1
 CATEGORIES=    x11
 MASTER_SITES=  http://xorg.freedesktop.org/releases/individual/app/
 EXTRACT_SUFX=  .tar.bz2
@@ -17,6 +18,8 @@
 
 CONFIGURE_ENV+=                APP_MAN_SUFFIX=1
 
+.include "options.mk"
+
 .include "../../x11/libX11/buildlink3.mk"
 .include "../../x11/libXau/buildlink3.mk"
 .include "../../x11/libXmu/buildlink3.mk"
diff -r e793ac0c9f59 -r a10fedc8d2d5 x11/xhost/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/xhost/options.mk      Mon Oct 15 14:39:46 2007 +0000
@@ -0,0 +1,12 @@
+# $NetBSD: options.mk,v 1.1 2007/10/15 14:39:47 abs Exp $
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.xhost
+PKG_SUPPORTED_OPTIONS+=        inet6
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Minet6)
+CONFIGURE_ARGS+=       --enable-ipv6
+.else
+CONFIGURE_ARGS+=       --disable-ipv6
+.endif



Home | Main Index | Thread Index | Old Index