From eb6c3ce0ed6d6ededbc30cf2faa0ec078462df8e Mon Sep 17 00:00:00 2001 From: pav Date: Mon, 5 Jun 2006 14:06:21 +0000 Subject: - Update to 0.6.3 PR: ports/98506 Submitted by: Gea-Suan Lin (maintainer) --- devel/cgdb/Makefile | 16 +++++++--------- devel/cgdb/distinfo | 6 +++--- devel/cgdb/files/patch-various-util-src.c | 10 ++++++++++ devel/cgdb/pkg-plist | 3 +++ 4 files changed, 23 insertions(+), 12 deletions(-) create mode 100644 devel/cgdb/files/patch-various-util-src.c create mode 100644 devel/cgdb/pkg-plist diff --git a/devel/cgdb/Makefile b/devel/cgdb/Makefile index a87715267938..4daa139e568f 100644 --- a/devel/cgdb/Makefile +++ b/devel/cgdb/Makefile @@ -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,20 @@ COMMENT= A curses-based interface to the GNU Debugger INFO= cgdb MAN1= cgdb.1 -PLIST_FILES= bin/cgdb GNU_CONFIGURE= yes .include +.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 diff --git a/devel/cgdb/distinfo b/devel/cgdb/distinfo index 81ddf6c4652d..a9162852d52e 100644 --- a/devel/cgdb/distinfo +++ b/devel/cgdb/distinfo @@ -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 --git a/devel/cgdb/files/patch-various-util-src.c b/devel/cgdb/files/patch-various-util-src.c new file mode 100644 index 000000000000..593f38e90f39 --- /dev/null +++ b/devel/cgdb/files/patch-various-util-src.c @@ -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 + #endif + #ifdef HAVE_LIBUTIL_H ++#include + #include + #endif + diff --git a/devel/cgdb/pkg-plist b/devel/cgdb/pkg-plist new file mode 100644 index 000000000000..2da5e91eb07d --- /dev/null +++ b/devel/cgdb/pkg-plist @@ -0,0 +1,3 @@ +bin/cgdb +%%DATADIR%%/cgdb.txt +@dirrm %%DATADIR%% -- cgit