ports/90900: [MAINTAINER] devel/cgdb: [SUMMARIZE CHANGES]

Gea-Suan Lin gslin at gslin.org
Sun Dec 25 16:00:20 UTC 2005


>Number:         90900
>Category:       ports
>Synopsis:       [MAINTAINER] devel/cgdb: [SUMMARIZE CHANGES]
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          maintainer-update
>Submitter-Id:   current-users
>Arrival-Date:   Sun Dec 25 16:00:18 GMT 2005
>Closed-Date:
>Last-Modified:
>Originator:     Gea-Suan Lin
>Release:        FreeBSD 6.0-RELEASE i386
>Organization:
>Environment:
System: FreeBSD netnews.NCTU.edu.tw 6.0-RELEASE FreeBSD 6.0-RELEASE #3: Sat Dec 10 02:26:21 CST 2005
>Description:
- Fix compiling problem in FreeBSD 4.x:
  http://pointyhat.freebsd.org/errorlogs/i386-errorlogs/e.4.2005092302/cgdb-0.5.3.log

Generated with FreeBSD Port Tools 0.63
>How-To-Repeat:
>Fix:

--- cgdb-0.5.3.patch begins here ---
diff -ruN --exclude=CVS /usr/ports/devel/cgdb/Makefile /home/staff/gslin/work/cgdb/Makefile
--- /usr/ports/devel/cgdb/Makefile	Sun Dec 18 23:57:44 2005
+++ /home/staff/gslin/work/cgdb/Makefile	Sun Dec 25 23:56:19 2005
@@ -15,11 +15,22 @@
 COMMENT=	A curses-based interface to the GNU Debugger
 
 GNU_CONFIGURE=	yes
+USE_GETOPT_LONG=	yes
 USE_REINPLACE=	yes
 
 PLIST_FILES=	bin/cgdb
 
+.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}
+.endif
+
 post-patch:
 	${REINPLACE_CMD} -e 's,libutil\.h,,g' ${WRKSRC}/configure
 
-.include <bsd.port.mk>
+.include <bsd.port.post.mk>
--- cgdb-0.5.3.patch ends here ---

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-ports-bugs mailing list