From c88530f314295926f96edb27f27a582be39b2f89 Mon Sep 17 00:00:00 2001 From: joerg Date: Wed, 17 Mar 2010 15:32:18 +0000 Subject: Fix build on NetBSD/amd64. Not MAKE_JOBS_SAFE. --- devel/elfsh/Makefile | 3 ++- devel/elfsh/distinfo | 3 ++- devel/elfsh/patches/patch-ad | 14 ++++++++++++++ 3 files changed, 18 insertions(+), 2 deletions(-) create mode 100644 devel/elfsh/patches/patch-ad diff --git a/devel/elfsh/Makefile b/devel/elfsh/Makefile index f8886918a77..e08f010b771 100644 --- a/devel/elfsh/Makefile +++ b/devel/elfsh/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.19 2009/05/20 00:58:12 wiz Exp $ +# $NetBSD: Makefile,v 1.20 2010/03/17 15:32:18 joerg Exp $ # VERS= 0.51b3 @@ -14,6 +14,7 @@ HOMEPAGE= http://elfsh.segfault.net/ COMMENT= ELF format exploration shell PKG_DESTDIR_SUPPORT= user-destdir +MAKE_JOBS_SAFE= no WRKSRC= ${WRKDIR}/${PKGNAME_NOREV} diff --git a/devel/elfsh/distinfo b/devel/elfsh/distinfo index 8697aa196e6..4528670ae2e 100644 --- a/devel/elfsh/distinfo +++ b/devel/elfsh/distinfo @@ -1,4 +1,4 @@ -$NetBSD: distinfo,v 1.4 2005/02/23 22:24:13 agc Exp $ +$NetBSD: distinfo,v 1.5 2010/03/17 15:32:18 joerg Exp $ SHA1 (elfsh-0.51b3-portable.tgz) = d8afc99cb2966710aa4b6a781ad9008bf0baaeb9 RMD160 (elfsh-0.51b3-portable.tgz) = 278b2c846335d14953b27fa8946763622acb6303 @@ -6,3 +6,4 @@ Size (elfsh-0.51b3-portable.tgz) = 136679 bytes SHA1 (patch-aa) = 0494158b7daf4d1b55984bf98c161bf70e114430 SHA1 (patch-ab) = 4db74e87f1505e4bd0334060019944eccd9f5cd3 SHA1 (patch-ac) = e60e109b4e2664619defc9a56616d1c7b7c3b35a +SHA1 (patch-ad) = 4fffefc0cddd6817eba3b0812bcf6935c0fcd438 diff --git a/devel/elfsh/patches/patch-ad b/devel/elfsh/patches/patch-ad new file mode 100644 index 00000000000..67ab31a0e55 --- /dev/null +++ b/devel/elfsh/patches/patch-ad @@ -0,0 +1,14 @@ +$NetBSD: patch-ad,v 1.1 2010/03/17 15:32:18 joerg Exp $ + +--- libelfsh/include/libelfsh-compat.h.orig 2010-03-17 15:23:59.000000000 +0000 ++++ libelfsh/include/libelfsh-compat.h +@@ -38,6 +38,9 @@ + /* Portability Stuffs */ + #if defined(__OpenBSD__) || defined(__NetBSD__) + #include ++# if defined(__NetBSD__) && defined(__x86_64__) ++# include ++# endif + #elif defined(__linux__) || defined(__FreeBSD__) || defined(sun) + #include + #endif -- cgit v1.2.3