Date: Wed, 14 Jun 2006 00:19:23 +0800 (CST) From: Gea-Suan Lin <gslin@gslin.org> To: FreeBSD-gnats-submit@FreeBSD.org Subject: ports/98904: [MAINTAINER] devel/cgdb: Unbroken FreeBSD 5.x and 4.x Message-ID: <20060613161923.7909C22A@netnews.NCTU.edu.tw> Resent-Message-ID: <200606131620.k5DGKGiW031057@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 98904 >Category: ports >Synopsis: [MAINTAINER] devel/cgdb: Unbroken FreeBSD 5.x and 4.x >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: Tue Jun 13 16:20:15 GMT 2006 >Closed-Date: >Last-Modified: >Originator: Gea-Suan Lin >Release: FreeBSD 6.1-RELEASE i386 >Organization: >Environment: System: FreeBSD netnews.NCTU.edu.tw 6.1-RELEASE FreeBSD 6.1-RELEASE #0: Sat May 13 03:43:48 CST 2006 >Description: - Unbroken FreeBSD 5.x and 4.x. - Use BUILD_DEPENDS and RUN_DEPENDS to replace LIB_DEPENDS. This will 1) force install port-base libreadline if OSVERSION < 700016 and 2) avoid configure broken with misc/compat5x installed. Generated with FreeBSD Port Tools 0.77 >How-To-Repeat: >Fix: --- cgdb-0.6.3_1.patch begins here --- diff -ruN --exclude=CVS /usr/ports/devel/cgdb/Makefile /home/staff/gslin/work/cgdb/Makefile --- /usr/ports/devel/cgdb/Makefile Tue Jun 6 03:15:48 2006 +++ /home/staff/gslin/work/cgdb/Makefile Wed Jun 14 00:14:47 2006 @@ -7,6 +7,7 @@ PORTNAME= cgdb PORTVERSION= 0.6.3 +PORTREVISION= 1 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_SOURCEFORGE} MASTER_SITE_SUBDIR= ${PORTNAME} @@ -21,12 +22,9 @@ .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 +BUILD_DEPENDS+= ${LOCALBASE}/lib/readline.so.5:${PORTSDIR}/devel/readline +RUN_DEPENDS= ${BUILD_DEPENDS} LDFLAGS+= -rpath ${LOCALBASE}/lib CONFIGURE_ARGS+= --with-readline=${LOCALBASE} CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}" --- cgdb-0.6.3_1.patch ends here --- >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060613161923.7909C22A>