pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/lang/erlang Fix build on DragonFly. SCTP is detected, ...
details: https://anonhg.NetBSD.org/pkgsrc/rev/1f3918ceda5a
branches: trunk
changeset: 531418:1f3918ceda5a
user: joerg <joerg%pkgsrc.org@localhost>
date: Mon Jul 30 07:15:36 2007 +0000
description:
Fix build on DragonFly. SCTP is detected, but some struct is missing,
so disable it for now.
diffstat:
lang/erlang/Makefile | 8 +++++++-
lang/erlang/distinfo | 3 ++-
lang/erlang/patches/patch-aa | 13 +++++++++++++
3 files changed, 22 insertions(+), 2 deletions(-)
diffs (52 lines):
diff -r b7ed7d8c52ae -r 1f3918ceda5a lang/erlang/Makefile
--- a/lang/erlang/Makefile Mon Jul 30 04:27:49 2007 +0000
+++ b/lang/erlang/Makefile Mon Jul 30 07:15:36 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2007/07/28 14:27:10 obache Exp $
+# $NetBSD: Makefile,v 1.30 2007/07/30 07:15:36 joerg Exp $
DISTNAME= otp_src_${DIST_VERSION}
PKGNAME= erlang-${ERLANG_VERSION}
@@ -25,6 +25,12 @@
PLIST_SRC= PLIST.common
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == "DragonFly"
+CONFIGURE_ARGS+= --disable-sctp
+.endif
+
.include "options.mk"
PLIST_SRC+= PLIST.common_end
diff -r b7ed7d8c52ae -r 1f3918ceda5a lang/erlang/distinfo
--- a/lang/erlang/distinfo Mon Jul 30 04:27:49 2007 +0000
+++ b/lang/erlang/distinfo Mon Jul 30 07:15:36 2007 +0000
@@ -1,7 +1,8 @@
-$NetBSD: distinfo,v 1.10 2007/07/28 14:27:10 obache Exp $
+$NetBSD: distinfo,v 1.11 2007/07/30 07:15:36 joerg Exp $
SHA1 (erlang/otp_src_R11B-5.tar.gz) = c03569f0387b04b0afcc5f59983792676fd4382b
RMD160 (erlang/otp_src_R11B-5.tar.gz) = 67eac12a891df0e8d46b383ea0997f9de3aa6ac6
Size (erlang/otp_src_R11B-5.tar.gz) = 38332865 bytes
+SHA1 (patch-aa) = 0e7876830697a053bfa2103f9514a8568441f3ae
SHA1 (patch-ab) = 1bf4d079f0138d97b0a86a8d75e87fce14586c49
SHA1 (patch-ae) = fba8ebcba12fae810f1c554b678f0b434e364833
diff -r b7ed7d8c52ae -r 1f3918ceda5a lang/erlang/patches/patch-aa
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/erlang/patches/patch-aa Mon Jul 30 07:15:36 2007 +0000
@@ -0,0 +1,13 @@
+$NetBSD: patch-aa,v 1.4 2007/07/30 07:15:36 joerg Exp $
+
+--- lib/os_mon/c_src/memsup.c.orig 2007-07-30 06:46:25.000000000 +0000
++++ lib/os_mon/c_src/memsup.c
+@@ -101,7 +101,7 @@
+ #ifndef __OpenBSD__
+ #include <vm/vm_param.h>
+ #endif
+-#ifdef __FreeBSD__
++#if defined(__FreeBSD__) || defined(__DragonFly__)
+ #include <sys/vmmeter.h>
+ #endif
+ #endif
Home |
Main Index |
Thread Index |
Old Index