# New ports collection makefile for: cgdb # Date created: 2005-12-18 # Whom: Gea-Suan Lin # # $FreeBSD$ # PORTNAME= cgdb PORTVERSION= 0.6.4 CATEGORIES= devel MASTER_SITES= SOURCEFORGE MASTER_SITE_SUBDIR= ${PORTNAME} MAINTAINER= clsung@FreeBSD.org COMMENT= A curses-based interface to the GNU Debugger INFO= cgdb MAN1= cgdb.1 GNU_CONFIGURE= yes .include # at this time we can not use LIB_DEPENDS, please read ports/99327 .if ${OSVERSION} < 700016 BUILD_DEPENDS+= ${LOCALBASE}/lib/libreadline.so.5:${PORTSDIR}/devel/readline RUN_DEPENDS= ${BUILD_DEPENDS} LDFLAGS+= -rpath ${LOCALBASE}/lib CONFIGURE_ARGS+= --with-readline=${LOCALBASE} CONFIGURE_ENV+= LDFLAGS="${LDFLAGS}" .endif post-patch: @${REINPLACE_CMD} -e 's|dev_ptmx=yes|dev_ptmx=no|' ${WRKSRC}/configure .include