aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpav <pav@FreeBSD.org>2006-06-05 22:06:21 +0800
committerpav <pav@FreeBSD.org>2006-06-05 22:06:21 +0800
commiteb6c3ce0ed6d6ededbc30cf2faa0ec078462df8e (patch)
treec86c98a0d465e2d8ed1a94899c10f58e720d8cf2
parent2e6ad66320139efcc4215b3f0d8db79bd7e17cd5 (diff)
downloadfreebsd-ports-gnome-eb6c3ce0ed6d6ededbc30cf2faa0ec078462df8e.tar.gz
freebsd-ports-gnome-eb6c3ce0ed6d6ededbc30cf2faa0ec078462df8e.tar.zst
freebsd-ports-gnome-eb6c3ce0ed6d6ededbc30cf2faa0ec078462df8e.zip
- Update to 0.6.3
PR: ports/98506 Submitted by: Gea-Suan Lin <gslin@gslin.org> (maintainer)
-rw-r--r--devel/cgdb/Makefile16
-rw-r--r--devel/cgdb/distinfo6
-rw-r--r--devel/cgdb/files/patch-various-util-src.c10
-rw-r--r--devel/cgdb/pkg-plist3
4 files changed, 23 insertions, 12 deletions
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 <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 --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 <util.h>
+ #endif
+ #ifdef HAVE_LIBUTIL_H
++#include <inttypes.h>
+ #include <libutil.h>
+ #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%%