pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/x11/kdebase3 Add hack to build without ipv6. From PR ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/c8a1a4bc630a
branches: trunk
changeset: 534762:c8a1a4bc630a
user: markd <markd%pkgsrc.org@localhost>
date: Wed Oct 31 11:56:44 2007 +0000
description:
Add hack to build without ipv6. From PR pkg/37154 by Yakovetsky Vladimir
diffstat:
x11/kdebase3/hacks.mk | 15 +++++++++++++++
x11/kdebase3/options.mk | 4 ++--
2 files changed, 17 insertions(+), 2 deletions(-)
diffs (32 lines):
diff -r 1222c76cf2dd -r c8a1a4bc630a x11/kdebase3/hacks.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/kdebase3/hacks.mk Wed Oct 31 11:56:44 2007 +0000
@@ -0,0 +1,15 @@
+# $NetBSD: hacks.mk,v 1.1 2007/10/31 11:56:44 markd Exp $
+
+.if !defined(KDEBASE3_HACKS_MK)
+KDEBASE3_HACKS_MK= # defined
+
+### issue is specific to xproto IPv6 support
+.if empty(PKG_OPTIONS:Minet6)
+PKG_HACKS+= X11_X_h
+post-wrapper:
+ ${SED} 's,^#define FamilyInternet6.*,/* undef FamilyInternet6 */,' \
+ ${BUILDLINK_DIR}/include/X11/X.h >${BUILDLINK_DIR}/include/X11/X.h.new
+ ${MV} ${BUILDLINK_DIR}/include/X11/X.h.new ${BUILDLINK_DIR}/include/X11/X.h
+.endif
+
+.endif
diff -r 1222c76cf2dd -r c8a1a4bc630a x11/kdebase3/options.mk
--- a/x11/kdebase3/options.mk Wed Oct 31 09:57:21 2007 +0000
+++ b/x11/kdebase3/options.mk Wed Oct 31 11:56:44 2007 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: options.mk,v 1.1 2007/01/26 02:49:25 markd Exp $
+# $NetBSD: options.mk,v 1.2 2007/10/31 11:56:44 markd Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.kdebase
-PKG_SUPPORTED_OPTIONS= sasl samba debug pam
+PKG_SUPPORTED_OPTIONS= inet6 sasl samba debug pam
PKG_SUGGESTED_OPTIONS= sasl
.include "../../mk/bsd.options.mk"
Home |
Main Index |
Thread Index |
Old Index