aboutsummaryrefslogtreecommitdiff
path: root/devel
diff options
context:
space:
mode:
authorPav Lucistnik <pav@FreeBSD.org>2006-06-05 14:06:21 +0000
committerPav Lucistnik <pav@FreeBSD.org>2006-06-05 14:06:21 +0000
commit43792a806af04509cb29387516681038a79ec682 (patch)
tree50f9c1c26f3b4e8990b30a01c0da10dafdb24ed9 /devel
parent7363f61d7a6b0723fadb329e44ab74b51fdd4d46 (diff)
downloadports-43792a806af04509cb29387516681038a79ec682.tar.gz
ports-43792a806af04509cb29387516681038a79ec682.zip
Notes
Diffstat (limited to 'devel')
-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%%