Bug 172148 - [MAINTAINER]: devel/edb is marked as broken on freebsd 7.4
[MAINTAINER]: devel/edb is marked as broken on freebsd 7.4
Status: Closed FIXED
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s)
Latest
Any Any
: Normal Affects Only Me
Assigned To: Bryan Drewery
:
Depends on:
Blocks:
  Show dependency treegraph
 
Reported: 2012-09-28 16:10 UTC by itechbear
Modified: 2012-09-28 16:30 UTC (History)
0 users

See Also:


Attachments
file.diff (1.22 KB, patch)
2012-09-28 16:10 UTC, itechbear
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description itechbear 2012-09-28 16:10:03 UTC
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

Fix: see the attatched patch file.

Patch attached with submission follows:
How-To-Repeat: build the port on FreeBSD 7.4, 8.0, etc.
Comment 1 Bryan Drewery freebsd_committer 2012-09-28 16:18:35 UTC
Responsible Changed
From-To: freebsd-ports-bugs->bdrewery

I'll take it.
Comment 2 Bryan Drewery freebsd_committer 2012-09-28 16:21:59 UTC
State Changed
From-To: open->closed

Committed, with minor changes. Thanks!
Comment 3 dfilter freebsd_committer 2012-09-28 16:22:09 UTC
Author: bdrewery
Date: Fri Sep 28 15:21:55 2012
New Revision: 304998
URL: http://svn.freebsd.org/changeset/ports/304998

Log:
  - Mark BROKEN on 7.4/8.0
  - Update pkg-descr to have correct project name
  
  PR:		ports/172148
  Submitted by:	HU Dong <itechbear@gmail.com> (maintainer)

Modified:
  head/devel/edb/Makefile
  head/devel/edb/pkg-descr

Modified: head/devel/edb/Makefile
==============================================================================
--- head/devel/edb/Makefile	Fri Sep 28 14:20:19 2012	(r304997)
+++ head/devel/edb/Makefile	Fri Sep 28 15:21:55 2012	(r304998)
@@ -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 @@ ONLY_FOR_ARCHS=	i386 amd64
 
 STRIP_FILES=	bin/${PORTNAME} libexec/${PORTNAME}/*.so
 
+.include <bsd.port.pre.mk>
+
+.if ${OSVERSION} < 800505
+BROKEN=		doesn't build due to lack of memory map of ptrace
+.endif
+
 .include <bsd.port.options.mk>
 
 do-configure:
@@ -47,4 +54,4 @@ post-install:
 	${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>

Modified: head/devel/edb/pkg-descr
==============================================================================
--- head/devel/edb/pkg-descr	Fri Sep 28 14:20:19 2012	(r304997)
+++ head/devel/edb/pkg-descr	Fri Sep 28 15:21:55 2012	(r304998)
@@ -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
_______________________________________________
svn-ports-all@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/svn-ports-all
To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"