Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 28 Sep 2012 15:02:38 GMT
From:      HU Dong <itechbear@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/172148: [MAINTAINER]: devel/edb is marked as broken on freebsd 7.4
Message-ID:  <201209281502.q8SF2cW9038759@red.freebsd.org>
Resent-Message-ID: <201209281510.q8SFA3KH058896@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201209281502.q8SF2cW9038759>