pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/libSM Update to libSM-1.0.3: Explicitly pass inet6...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/efd1a62a2226
branches:  trunk
changeset: 534274:efd1a62a2226
user:      abs <abs%pkgsrc.org@localhost>
date:      Mon Oct 15 12:48:57 2007 +0000

description:
Update to libSM-1.0.3: Explicitly pass inet6 setting to configure - from Yakovetsky Vladimir in PR/37116

diffstat:

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

diffs (38 lines):

diff -r ce4c23204dc2 -r efd1a62a2226 x11/libSM/Makefile
--- a/x11/libSM/Makefile        Mon Oct 15 12:46:09 2007 +0000
+++ b/x11/libSM/Makefile        Mon Oct 15 12:48:57 2007 +0000
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.3 2007/05/20 16:38:05 joerg Exp $
+# $NetBSD: Makefile,v 1.4 2007/10/15 12:48:57 abs Exp $
 #
 
 DISTNAME=              libSM-1.0.3
+PKGREVISION=           1
 CATEGORIES=            x11 devel
 MASTER_SITES=          http://xorg.freedesktop.org/releases/individual/lib/
 EXTRACT_SUFX=          .tar.bz2
@@ -19,6 +20,8 @@
 
 PKGCONFIG_OVERRIDE+=   sm.pc.in
 
+.include "options.mk"
+
 .include "../../x11/libICE/buildlink3.mk"
 .include "../../x11/xproto/buildlink3.mk"
 .include "../../x11/xtrans/buildlink3.mk"
diff -r ce4c23204dc2 -r efd1a62a2226 x11/libSM/options.mk
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/x11/libSM/options.mk      Mon Oct 15 12:48:57 2007 +0000
@@ -0,0 +1,12 @@
+# $NetBSD: options.mk,v 1.1 2007/10/15 12:48:57 abs Exp $
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.libSM
+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