cgdb received an update after >2 years. Changelog can be found at
https://raw.githubusercontent.com/cgdb/cgdb/v0.7.0/NEWS

Noticeable is that the manpage has been dropped.

While here make Makefile follow Makefile.template, and update HOMEPAGE
and MASTER_SITES.

Lightly tested by debugging a small program.


-- 
Björn Ketelaars
GPG key: 0x4F0E5F21


diff --git Makefile Makefile
index 1c521263522..93aa19b59e7 100644
--- Makefile
+++ Makefile
@@ -1,27 +1,29 @@
 # $OpenBSD: Makefile,v 1.6 2017/07/04 11:09:44 sthen Exp $
 
 COMMENT=       curses GDB interface
-DISTNAME=      cgdb-0.6.8
-REVISION=      0
+
+DISTNAME=      cgdb-0.7.0
+
 CATEGORIES=    devel
-HOMEPAGE=      http://cgdb.me/
+
+HOMEPAGE=      https://cgdb.github.io/
 
 # GPLv2
 PERMIT_PACKAGE_CDROM=  Yes
 
-WANTLIB += c ereadline m ncurses
+WANTLIB=       ${COMPILER_LIBCXX} c curses ereadline m util
 
-MASTER_SITES=  http://cgdb.me/files/
+MASTER_SITES=  https://cgdb.me/files/
 
-BUILD_DEPENDS= devel/help2man
 LIB_DEPENDS=   devel/readline>=6.1p2
 
-CONFIGURE_STYLE=  autoconf
-AUTOCONF_VERSION= 2.69
-CONFIGURE_ARGS+=  --with-readline=yes
+SEPARATE_BUILD=                Yes
+CONFIGURE_STYLE=       autoconf
+CONFIGURE_ARGS+=       --with-readline=yes
+CONFIGURE_ENV=         LDFLAGS="-L${LOCALBASE}/lib" \
+                       CPPFLAGS="-I${LOCALBASE}/include/ereadline 
-I${LOCALBASE}/include"
 
-CONFIGURE_ENV= LDFLAGS="-L${LOCALBASE}/lib" \
-               CPPFLAGS="-I${LOCALBASE}/include/ereadline 
-I${LOCALBASE}/include"
+AUTOCONF_VERSION=      2.69
 
 # there are tests, but not working yet
 NO_TEST=       Yes
diff --git distinfo distinfo
index 4754675dca8..c50602ff7aa 100644
--- distinfo
+++ distinfo
@@ -1,2 +1,2 @@
-SHA256 (cgdb-0.6.8.tar.gz) = viA+Kb4pUJdDmrZ+/j3IJh90LFX/NkdxjWfVKJH0z0E=
-SIZE (cgdb-0.6.8.tar.gz) = 716988
+SHA256 (cgdb-0.7.0.tar.gz) = v3qSZGaNs/k0JZGwiyzDu7COI1uiNyh3tGULcMb7VCM=
+SIZE (cgdb-0.7.0.tar.gz) = 743222
diff --git patches/patch-configure_ac patches/patch-configure_ac
index 231a7fe9e31..c7a92ed83fe 100644
--- patches/patch-configure_ac
+++ patches/patch-configure_ac
@@ -1,7 +1,8 @@
 $OpenBSD: patch-configure_ac,v 1.1 2014/11/24 10:29:10 sthen Exp $
---- configure.ac.orig  Thu Nov 13 19:59:02 2014
-+++ configure.ac       Tue Nov 18 02:15:11 2014
-@@ -198,7 +198,7 @@ dnl This will DEFINE the readline headers.
+Index: configure.ac
+--- configure.ac.orig
++++ configure.ac
+@@ -233,7 +233,7 @@ dnl This will DEFINE the readline headers.
  RL_LIB_READLINE_INCLUDES
  
  dnl Made it this far, add the readline and termcap LIBS
diff --git pkg/PLIST pkg/PLIST
index 8457501bdbe..e2cfb34c701 100644
--- pkg/PLIST
+++ pkg/PLIST
@@ -1,6 +1,5 @@
 @comment $OpenBSD: PLIST,v 1.1.1.1 2013/04/18 15:08:17 sthen Exp $
 @bin bin/cgdb
 @info info/cgdb.info
-@man man/man1/cgdb.1
 share/cgdb/
 share/cgdb/cgdb.txt

Reply via email to