Date: Sun, 30 Apr 2006 05:59:59 +0800 From: Gea-Suan Lin <gslin@gslin.org> To: Pav Lucistnik <pav@FreeBSD.org> Cc: freebsd-ports-bugs@FreeBSD.org, Gea-Suan Lin <gslin@gslin.org> Subject: Re: ports/96499: [MAINTAINER] devel/cgdb: update to 0.6.2 Message-ID: <20060429215959.GA41313@gslin.org> In-Reply-To: <200604291225.k3TCPgFF037575@freefall.freebsd.org> References: <200604291225.k3TCPgFF037575@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, Apr 29, 2006 at 12:25:42PM +0000, Pav Lucistnik wrote: > Also note that readline 5.1 is present in 7-CURRENT since March 27, 2006. > Can you retain the OSVERSION check, but using a new value? > > Last thing - GNU info files must be specified with INFO line in Makefile > and must not be listed in pkg-plist. See > http://www.freebsd.org/doc/en/books/porters-handbook/makefile-info.html Hello, use the following patch and it requires OSVERSION < 700016: ===> Generating patch ===> Viewing diff with less diff -ruN --exclude=CVS /usr/ports/devel/cgdb/Makefile /home/staff/gslin/work/cgdb/Makefile --- /usr/ports/devel/cgdb/Makefile Thu Mar 2 03:18:52 2006 +++ /home/staff/gslin/work/cgdb/Makefile Sun Apr 30 05:54:05 2006 @@ -6,7 +6,7 @@ # PORTNAME= cgdb -PORTVERSION= 0.5.3 +PORTVERSION= 0.6.2 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -14,22 +14,19 @@ MAINTAINER= gslin@gslin.org COMMENT= A curses-based interface to the GNU Debugger +INFO= cgdb +MAN1= cgdb.1 +PLIST_FILES= bin/cgdb + GNU_CONFIGURE= yes -USE_REINPLACE= yes -PLIST_FILES= bin/cgdb +post-patch: + ${REINPLACE_CMD} -e 's,libutil\.h,,g' ${WRKSRC}/configure .include <bsd.port.pre.mk> -.if ${OSVERSION} < 500018 -# This port requires readline 4.2 or newer, which is only available -# in the base system in FreeBSD 5.x or later. -BUILD_DEPENDS+= ${LOCALBASE}/lib/libreadline.so.5:${PORTSDIR}/devel/readline -RUN_DEPENDS+= ${LOCALBASE}/lib/libreadline.so.5:${PORTSDIR}/devel/readline -CONFIGURE_ARGS+= --with-readline=${LOCALBASE} +.if ${OSVERSION} < 700016 +LIB_DEPENDS= readline.5:${PORTSDIR}/devel/readline .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 Sun Dec 18 23:57:44 2005 +++ /home/staff/gslin/work/cgdb/distinfo Sun Apr 30 05:40:45 2006 @@ -1,3 +1,3 @@ -MD5 (cgdb-0.5.3.tar.gz) = 51adf1db0307adaba24336ef3a18e0c3 -SHA256 (cgdb-0.5.3.tar.gz) = 3db7b273baf08d45505765d2594d992583f0bbd299616c1e98160bdefce647b6 -SIZE (cgdb-0.5.3.tar.gz) = 527341 +MD5 (cgdb-0.6.2.tar.gz) = 4b3bc8bbb3bc5bb79137f1b471e018f4 +SHA256 (cgdb-0.6.2.tar.gz) = b4f0508dbb4ae510b2bf12a3eb48344af2baea4ac2e79e38889774a20c5e1e67 +SIZE (cgdb-0.6.2.tar.gz) = 748404 ===> Done -- * Gea-Suan Lin (public key: Using https://keyserver.pgp.com/ to search) * If you cannot convince them, confuse them. -- Harry S Truman
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060429215959.GA41313>