ports/172148: [MAINTAINER]: devel/edb is marked as broken on freebsd 7.4
HU Dong
itechbear at gmail.com
Fri Sep 28 15:10:03 UTC 2012
>Number: 172148
>Category: ports
>Synopsis: [MAINTAINER]: devel/edb is marked as broken on freebsd 7.4
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-ports-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: maintainer-update
>Submitter-Id: current-users
>Arrival-Date: Fri Sep 28 15:10:03 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator: HU Dong
>Release: 9.0 Release i386
>Organization:
None
>Environment:
FreeBSD hostname 9.0-RELEASE FreeBSD 9.0-RELEASE #0: Tue Jan 3 07:15:25 UTC 2012 root at obrian.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC i386
>Description:
devel/edb can't build on some systems due to sys/ptrace.h file.
details: http://pointyhat.freebsd.org/errorlogs/amd64-errorlogs/e.7.20120924192130/edb-0.9.18.log
>How-To-Repeat:
build the port on FreeBSD 7.4, 8.0, etc.
>Fix:
see the attatched patch file.
Patch attached with submission follows:
diff -ruN edb.bak/Makefile edb/Makefile
--- edb.bak/Makefile 2012-09-26 03:40:13.000000000 +0800
+++ edb/Makefile 2012-09-26 03:58:58.000000000 +0800
@@ -2,6 +2,7 @@
PORTNAME= edb
PORTVERSION= 0.9.18
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= http://codef00.com/projects/
DISTNAME= debugger-${PORTVERSION}
@@ -29,6 +30,12 @@
STRIP_FILES= bin/${PORTNAME} libexec/${PORTNAME}/*.so
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 800505
+BROKEN= doesn't build due to lack of memroy map of ptrace
+.endif
+
.include <bsd.port.options.mk>
do-configure:
@@ -47,4 +54,4 @@
${INSTALL_MAN} ${WRKSRC}/edb.1 ${MANPREFIX}/man/man1/edb.1
${STRIP_CMD} ${STRIP_FILES:S,^,${PREFIX}/,}
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
diff -ruN edb.bak/pkg-descr edb/pkg-descr
--- edb.bak/pkg-descr 2012-09-26 03:47:42.000000000 +0800
+++ edb/pkg-descr 2012-09-26 03:47:55.000000000 +0800
@@ -1,4 +1,4 @@
-edbg (Evan's Debugger) is a cross platform x86/x86-64 debugger. It
+edb (Evan's Debugger) is a cross platform x86/x86-64 debugger. It
was inspired by OllyDbg, but aims to function on x86 and x86-64 as
well as multiple OS's. Linux is the only officially supported
platform at the moment, but FreeBSD, OpenBSD, OSX and Windows ports
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-ports-bugs
mailing list