ports/98506: [MAINTAINER] devel/cgdb: update to 0.6.3

Gea-Suan Lin gslin at gslin.org
Sun Jun 4 20:20:20 UTC 2006


>Number:         98506
>Category:       ports
>Synopsis:       [MAINTAINER] devel/cgdb: update to 0.6.3
>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:   Sun Jun 04 20:20:18 GMT 2006
>Closed-Date:
>Last-Modified:
>Originator:     Gea-Suan Lin
>Release:        FreeBSD 6.1-RELEASE i386
>Organization:
>Environment:
System: FreeBSD netnews.NCTU.edu.tw 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sat May 13 03:43:48 CST 2006
>Description:
- Update to 0.6.3
- Set IGNORE to 4.x and 5.x because it can be compiled but not to run

Added file(s):
- files/patch-various-util-src.c
- pkg-plist

Generated with FreeBSD Port Tools 0.77
>How-To-Repeat:
>Fix:

--- cgdb-0.6.3.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/devel/cgdb/Makefile /home/staff/gslin/work/cgdb/Makefile
--- /usr/ports/devel/cgdb/Makefile	Mon May 22 03:14:46 2006
+++ /home/staff/gslin/work/cgdb/Makefile	Mon Jun  5 04:10:42 2006
@@ -6,7 +6,7 @@
 #
 
 PORTNAME=	cgdb
-PORTVERSION=	0.6.2
+PORTVERSION=	0.6.3
 CATEGORIES=	devel
 MASTER_SITES=	${MASTER_SITE_SOURCEFORGE}
 MASTER_SITE_SUBDIR=	${PORTNAME}
@@ -16,22 +16,21 @@
 
 INFO=		cgdb
 MAN1=		cgdb.1
-PLIST_FILES=	bin/cgdb
 
 GNU_CONFIGURE=	yes
+USE_GETOPT_LONG=	yes
 
 .include <bsd.port.pre.mk>
 
+.if ${OSVERSION} < 600000
+IGNORE=		it can be compiled, but cannot run
+.endif
+
 .if ${OSVERSION} < 700016
 LIB_DEPENDS+=	readline.5:${PORTSDIR}/devel/readline
+LDFLAGS+=	-rpath ${LOCALBASE}/lib
 CONFIGURE_ARGS+=	--with-readline=${LOCALBASE}
+CONFIGURE_ENV+=	LDFLAGS="${LDFLAGS}"
 .endif
-
-.if ${OSVERSION} < 500000
-BROKEN=		Does not compile on FreeBSD 4.X
-.endif
-
-post-patch:
-	${REINPLACE_CMD} -e 's,libutil\.h,,g' ${WRKSRC}/configure
 
 .include <bsd.port.post.mk>
diff -ruN --exclude=CVS /usr/ports/devel/cgdb/distinfo /home/staff/gslin/work/cgdb/distinfo
--- /usr/ports/devel/cgdb/distinfo	Mon May  1 03:11:56 2006
+++ /home/staff/gslin/work/cgdb/distinfo	Mon Jun  5 01:34:16 2006
@@ -1,3 +1,3 @@
-MD5 (cgdb-0.6.2.tar.gz) = 4b3bc8bbb3bc5bb79137f1b471e018f4
-SHA256 (cgdb-0.6.2.tar.gz) = b4f0508dbb4ae510b2bf12a3eb48344af2baea4ac2e79e38889774a20c5e1e67
-SIZE (cgdb-0.6.2.tar.gz) = 748404
+MD5 (cgdb-0.6.3.tar.gz) = b50c2389935b4d71a7b48717dd41fc91
+SHA256 (cgdb-0.6.3.tar.gz) = 91ca5ff9177cabb4b28d490c17ac285898d486acfe381a868253fe8c278b7bf4
+SIZE (cgdb-0.6.3.tar.gz) = 788341
diff -ruN --exclude=CVS /usr/ports/devel/cgdb/files/patch-various-util-src.c /home/staff/gslin/work/cgdb/files/patch-various-util-src.c
--- /usr/ports/devel/cgdb/files/patch-various-util-src.c	Thu Jan  1 08:00:00 1970
+++ /home/staff/gslin/work/cgdb/files/patch-various-util-src.c	Mon Jun  5 02:28:41 2006
@@ -0,0 +1,10 @@
+--- various/util/src/pseudo.c.orig	Sun Jun  4 02:09:05 2006
++++ various/util/src/pseudo.c	Mon Jun  5 02:28:30 2006
+@@ -46,6 +46,7 @@
+ #include <util.h>
+ #endif
+ #ifdef HAVE_LIBUTIL_H
++#include <inttypes.h>
+ #include <libutil.h>
+ #endif
+ 
diff -ruN --exclude=CVS /usr/ports/devel/cgdb/pkg-plist /home/staff/gslin/work/cgdb/pkg-plist
--- /usr/ports/devel/cgdb/pkg-plist	Thu Jan  1 08:00:00 1970
+++ /home/staff/gslin/work/cgdb/pkg-plist	Mon Jun  5 04:11:03 2006
@@ -0,0 +1,3 @@
+bin/cgdb
+%%DATADIR%%/cgdb.txt
+ at dirrm %%DATADIR%%
--- cgdb-0.6.3.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list