diff options
author | joerg <joerg> | 2007-07-30 07:15:36 +0000 |
---|---|---|
committer | joerg <joerg> | 2007-07-30 07:15:36 +0000 |
commit | c1e2dc8e23aca4631f20a0f162ca59fb568c570c (patch) | |
tree | b2bab5caafceadcaa832094b8d161adafd499fe7 /lang/erlang | |
parent | d123062bda70e08bf1f5fb65d8d50e127bf97194 (diff) | |
download | pkgsrc-c1e2dc8e23aca4631f20a0f162ca59fb568c570c.tar.gz |
Fix build on DragonFly. SCTP is detected, but some struct is missing,
so disable it for now.
Diffstat (limited to 'lang/erlang')
-rw-r--r-- | lang/erlang/Makefile | 8 | ||||
-rw-r--r-- | lang/erlang/distinfo | 3 | ||||
-rw-r--r-- | lang/erlang/patches/patch-aa | 13 |
3 files changed, 22 insertions, 2 deletions
diff --git a/lang/erlang/Makefile b/lang/erlang/Makefile index 619b7d6580f..6cac6f65d96 100644 --- a/lang/erlang/Makefile +++ b/lang/erlang/Makefile @@ -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 @@ SUBST_MESSAGE.target= Fixing target name. 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 --git a/lang/erlang/distinfo b/lang/erlang/distinfo index f237b11d1d2..cb992fd5bba 100644 --- a/lang/erlang/distinfo +++ b/lang/erlang/distinfo @@ -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 --git a/lang/erlang/patches/patch-aa b/lang/erlang/patches/patch-aa new file mode 100644 index 00000000000..191bb1162e4 --- /dev/null +++ b/lang/erlang/patches/patch-aa @@ -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 |