1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-17 03:25:46 +00:00
freebsd-ports/devel/cgdb/Makefile
Cheng-Lung Sung 10673bc718 - Force configure to detect readline in ${LOCALBASE} if
${OSVERSION} < 700016.

PR:		ports/97520
Submitted by:	maintainer (Gea-Suan Lin)
2006-05-21 02:55:24 +00:00

38 lines
741 B
Makefile

# New ports collection makefile for: cgdb
# Date created: 2005-12-18
# Whom: Gea-Suan Lin <gslin@gslin.org>
#
# $FreeBSD$
#
PORTNAME= cgdb
PORTVERSION= 0.6.2
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
MASTER_SITE_SUBDIR= ${PORTNAME}
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
.include <bsd.port.pre.mk>
.if ${OSVERSION} < 700016
LIB_DEPENDS+= readline.5:${PORTSDIR}/devel/readline
CONFIGURE_ARGS+= --with-readline=${LOCALBASE}
.endif
.if ${OSVERSION} < 500000
BROKEN= Does not compile on FreeBSD 4.X
.endif
post-patch:
${REINPLACE_CMD} -e 's,libutil\.h,,g' ${WRKSRC}/configure
.include <bsd.port.post.mk>