summaryrefslogtreecommitdiff
path: root/devel/elfsh
diff options
context:
space:
mode:
authorjmc <jmc>2003-05-12 21:27:10 +0000
committerjmc <jmc>2003-05-12 21:27:10 +0000
commit407353172e39183d7c6bb089ff48ee3490c5fda3 (patch)
tree1798b0ee1f6ed2f5ad499a03c4b8947a078e8fc9 /devel/elfsh
parent8457ebaed31d541ccf2a9dafce02a8d32a4bd274 (diff)
downloadpkgsrc-407353172e39183d7c6bb089ff48ee3490c5fda3.tar.gz
Buildlinkify w. readline support and patch so all NetBSD instances of
readline will work.
Diffstat (limited to 'devel/elfsh')
-rw-r--r--devel/elfsh/Makefile5
-rw-r--r--devel/elfsh/distinfo3
-rw-r--r--devel/elfsh/patches/patch-ac17
3 files changed, 23 insertions, 2 deletions
diff --git a/devel/elfsh/Makefile b/devel/elfsh/Makefile
index 15b6116b352..064fd318826 100644
--- a/devel/elfsh/Makefile
+++ b/devel/elfsh/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.1.1.1 2003/05/05 10:57:05 mjl Exp $
+# $NetBSD: Makefile,v 1.2 2003/05/12 21:27:10 jmc Exp $
#
VERS= 0.43b
@@ -14,6 +14,8 @@ COMMENT= ELF format exploration shell
WRKSRC= ${WRKDIR}/elfsh_0.43
+USE_BUILDLINK2= yes
+
# XXX This package should be converted to use libtool
do-install:
@@ -25,4 +27,5 @@ do-install:
${INSTALL_DATA} ${WRKSRC}/doc/README ${PREFIX}/share/doc/elfsh/README
${INSTALL_DATA} ${WRKSRC}/doc/libelfsh-ref.txt ${PREFIX}/share/doc/elfsh/libelfsh-ref.txt
+.include "../../devel/readline/buildlink2.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/elfsh/distinfo b/devel/elfsh/distinfo
index 61804fb1b61..9cec4a39d4d 100644
--- a/devel/elfsh/distinfo
+++ b/devel/elfsh/distinfo
@@ -1,6 +1,7 @@
-$NetBSD: distinfo,v 1.1.1.1 2003/05/05 10:57:05 mjl Exp $
+$NetBSD: distinfo,v 1.2 2003/05/12 21:27:10 jmc Exp $
SHA1 (elfsh-0.43b-portable.tgz) = a4ccc9e8727409f65a3b9571455d7e2fea56e55b
Size (elfsh-0.43b-portable.tgz) = 101978 bytes
SHA1 (patch-aa) = 32c31367c920dde165a79464c984bfdb346598b5
SHA1 (patch-ab) = 4d9e36b5f163c582d636256afff5b9f9460264eb
+SHA1 (patch-ac) = 76b9926e1e3705be731784859304a168f211cf91
diff --git a/devel/elfsh/patches/patch-ac b/devel/elfsh/patches/patch-ac
new file mode 100644
index 00000000000..0e6fb742e96
--- /dev/null
+++ b/devel/elfsh/patches/patch-ac
@@ -0,0 +1,17 @@
+$NetBSD: patch-ac,v 1.1 2003/05/12 21:27:11 jmc Exp $
+
+--- elfsh/include/elfsh.h.orig Mon May 12 15:59:28 2003
++++ elfsh/include/elfsh.h Mon May 12 16:00:27 2003
+@@ -15,7 +15,12 @@
+
+
+ #if defined(__NetBSD__)
++#include <sys/param.h>
++#if __NetBSD_Version__ < 106000000
+ #include <readline.h>
++#else
++#include <readline/readline.h>
++#endif
+ #elif defined(__linux__) || defined(__FreeBSD__) | defined(sun)
+ #include <readline/readline.h>
+ #endif