aboutsummaryrefslogtreecommitdiff
path: root/devel/dwarfdump/Makefile
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2008-12-03 23:04:46 +0000
committerPav Lucistnik <pav@FreeBSD.org>2008-12-03 23:04:46 +0000
commitb5701d060b5d66a382b5ab51f7a2173affc4ed6d (patch)
treecf1902689adb6370bb701976b1ad718fd5676838 /devel/dwarfdump/Makefile
parentfa7c2fb891ef961578f0986e6aa1356a0b3dd244 (diff)
downloadports-b5701d060b5d66a382b5ab51f7a2173affc4ed6d.tar.gz
ports-b5701d060b5d66a382b5ab51f7a2173affc4ed6d.zip
- Update to 20080615
PR: ports/126987 Submitted by: Pedro Giffuni <pfgshield-freebsd@yahoo.com> Approved by: maintainer timeout (joerg; 3 months)
Notes
Notes: svn path=/head/; revision=223744
Diffstat (limited to 'devel/dwarfdump/Makefile')
-rw-r--r--devel/dwarfdump/Makefile18
1 files changed, 10 insertions, 8 deletions
diff --git a/devel/dwarfdump/Makefile b/devel/dwarfdump/Makefile
index d8cb62c5b203..5fada8b60fbc 100644
--- a/devel/dwarfdump/Makefile
+++ b/devel/dwarfdump/Makefile
@@ -6,8 +6,7 @@
#
PORTNAME= dwarfdump
-DISTVERSION= 20070703
-PORTREVISION= 1
+PORTVERSION= 20080615
CATEGORIES= devel
MASTER_SITES= http://reality.sgiweb.org/davea/
DISTNAME= libdwarf-${PORTVERSION}
@@ -15,23 +14,26 @@ 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
+BUILD_DEPENDS= ${LOCALBASE}/lib/libdwarf.a:${PORTSDIR}/devel/libdwarf
WRKSRC= ${WRKDIR}/dwarf-${PORTVERSION}/dwarfdump
GNU_CONFIGURE= yes
CONFIGURE_ENV+= CFLAGS="${CFLAGS} -I${LOCALBASE}/include" \
LDFLAGS="-L${LOCALBASE}/lib"
-.if (${MACHINE_ARCH} == "amd64")
-ARCH= x86_64
-.endif
MAN1= dwarfdump.1
.include <bsd.port.pre.mk>
+.if ${OSVERSION} < 700000
+LIB_DEPENDS+= elf.0:${PORTSDIR}/devel/libelf
+.endif
+
+.if (${ARCH} == "amd64")
+ARCH= x86_64
+.endif
+
FILES_TO_PATCH=print_reloc.c
post-patch: