summaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2010-03-17 15:32:18 +0000
committerjoerg <joerg@pkgsrc.org>2010-03-17 15:32:18 +0000
commit37e8437a66fcf6c40e25968ae54bbb2d3b3205d8 (patch)
treef40c99e01f0137cb7bd8228739e1e634211e24db /devel
parentfd79b172f15353766727200e792e90d928fdbcfb (diff)
downloadpkgsrc-37e8437a66fcf6c40e25968ae54bbb2d3b3205d8.tar.gz
Fix build on NetBSD/amd64. Not MAKE_JOBS_SAFE.
Diffstat (limited to 'devel')
-rw-r--r--devel/elfsh/Makefile3
-rw-r--r--devel/elfsh/distinfo3
-rw-r--r--devel/elfsh/patches/patch-ad14
3 files changed, 18 insertions, 2 deletions
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 <sys/exec_elf.h>
++# if defined(__NetBSD__) && defined(__x86_64__)
++# include <i386/elf_machdep.h>
++# endif
+ #elif defined(__linux__) || defined(__FreeBSD__) || defined(sun)
+ #include <elf.h>
+ #endif