diff options
author | Joerg Wunsch <joerg@FreeBSD.org> | 2005-02-12 22:12:15 +0000 |
---|---|---|
committer | Joerg Wunsch <joerg@FreeBSD.org> | 2005-02-12 22:12:15 +0000 |
commit | ce7ac1a8347b59a3d3eea8fe1aecd28a069584b4 (patch) | |
tree | 6b4f2b3258809c3718d83bf401dc78395fb1c86b /devel/dwarfdump | |
parent | 90be6507b53f95de37f159c90353f2616361d423 (diff) | |
download | ports-ce7ac1a8347b59a3d3eea8fe1aecd28a069584b4.tar.gz ports-ce7ac1a8347b59a3d3eea8fe1aecd28a069584b4.zip |
Notes
Diffstat (limited to 'devel/dwarfdump')
-rw-r--r-- | devel/dwarfdump/Makefile | 33 | ||||
-rw-r--r-- | devel/dwarfdump/distinfo | 2 | ||||
-rw-r--r-- | devel/dwarfdump/files/patch-configure | 11 | ||||
-rw-r--r-- | devel/dwarfdump/files/patch-malloc.h | 10 | ||||
-rw-r--r-- | devel/dwarfdump/pkg-descr | 5 | ||||
-rw-r--r-- | devel/dwarfdump/pkg-plist | 1 |
6 files changed, 62 insertions, 0 deletions
diff --git a/devel/dwarfdump/Makefile b/devel/dwarfdump/Makefile new file mode 100644 index 000000000000..2c53610940c8 --- /dev/null +++ b/devel/dwarfdump/Makefile @@ -0,0 +1,33 @@ +# New ports collection makefile for: dwarfdump +# Date created: 11 Feb 2005 +# Whom: joerg@FreeBSD.org +# +# $FreeBSD$ +# + +PORTNAME= dwarfdump +PORTVERSION= 20041122 +CATEGORIES= devel +MASTER_SITES= http://reality.sgi.com/davea/ +DISTNAME= libdwarf-${PORTVERSION} + +MAINTAINER= joerg@FreeBSD.org +COMMENT= A tool to display DWARF debugging information in ELF files + +BUILD_DEPENDS= ${LOCALBASE}/lib/libelf.so.0:${PORTSDIR}/devel/libelf \ + ${LOCALBASE}/lib/libdwarf.a:${PORTSDIR}/devel/libdwarf +RUN_DEPENDS= ${LOCALBASE}/lib/libelf.so.0:${PORTSDIR}/devel/libelf + +WRKSRC= ${WRKDIR}/dwarf-${PORTVERSION}/dwarfdump + +GNU_CONFIGURE= yes +CONFIGURE_ENV+= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \ + LDFLAGS="-L${LOCALBASE}/lib" + +MAN1= dwarfdump.1 + +do-install: + ${INSTALL_PROGRAM} ${WRKSRC}/dwarfdump ${PREFIX}/bin + ${INSTALL_DATA} ${WRKSRC}/dwarfdump.1 ${PREFIX}/man/man1 + +.include <bsd.port.mk> diff --git a/devel/dwarfdump/distinfo b/devel/dwarfdump/distinfo new file mode 100644 index 000000000000..463ae537970c --- /dev/null +++ b/devel/dwarfdump/distinfo @@ -0,0 +1,2 @@ +MD5 (libdwarf-20041122.tar.gz) = f326a50b103ecd9bb7884fd70d7d40cf +SIZE (libdwarf-20041122.tar.gz) = 792298 diff --git a/devel/dwarfdump/files/patch-configure b/devel/dwarfdump/files/patch-configure new file mode 100644 index 000000000000..7a2206dedd3f --- /dev/null +++ b/devel/dwarfdump/files/patch-configure @@ -0,0 +1,11 @@ +--- configure.orig Mon Nov 22 19:20:33 2004 ++++ configure Sat Feb 12 22:55:06 2005 +@@ -3029,7 +3029,7 @@ + + + +-for ac_header in elf.h getopt.h libelf.h libelf/libelf.h sgidefs.h sys/types.h ++for ac_header in getopt.h libelf.h libelf/libelf.h sgidefs.h sys/types.h + do + as_ac_Header=`echo "ac_cv_header_$ac_header" | $as_tr_sh` + if eval "test \"\${$as_ac_Header+set}\" = set"; then diff --git a/devel/dwarfdump/files/patch-malloc.h b/devel/dwarfdump/files/patch-malloc.h new file mode 100644 index 000000000000..3dcce8424d61 --- /dev/null +++ b/devel/dwarfdump/files/patch-malloc.h @@ -0,0 +1,10 @@ +--- makename.c.orig Mon Nov 22 19:20:33 2004 ++++ makename.c Sat Feb 12 22:56:10 2005 +@@ -45,7 +45,6 @@ + */ + + #include <stdio.h> +-#include <malloc.h> + #include <string.h> + #include <stdlib.h> + #include "makename.h" diff --git a/devel/dwarfdump/pkg-descr b/devel/dwarfdump/pkg-descr new file mode 100644 index 000000000000..0342ffa03adc --- /dev/null +++ b/devel/dwarfdump/pkg-descr @@ -0,0 +1,5 @@ +The dwarfdump tool prints the various elements of DWARF debugging +information found in ELF object files. + +WWW: http://reality.sgi.com/davea/ +Author: David Anderson of SGI diff --git a/devel/dwarfdump/pkg-plist b/devel/dwarfdump/pkg-plist new file mode 100644 index 000000000000..0a2514d8d854 --- /dev/null +++ b/devel/dwarfdump/pkg-plist @@ -0,0 +1 @@ +bin/dwarfdump |