freebsd-ports/devel/cgdb/Makefile
Eitan Adler c59a3834c4 At the moment 1385 ports use BUILD_DEPENDS= ${RUN_DEPENDS} and 450
ports use BUILD_DEPENDS:= ${RUN_DEPENDS}. This patch fixes ports that are
currently broken. This is a temporary measure until we organically stop using
:= or someone(s) spend a lot of time changing all the ports over.

Explicit duplication > := > = and this just moves ports one step to the left

Approved by:	portmgr
2012-01-21 17:40:15 +00:00

35 lines
834 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.6
CATEGORIES= devel
MASTER_SITES= SF/${PORTNAME}/${PORTNAME}/${PORTNAME}-${PORTVERSION}
MAINTAINER= clsung@FreeBSD.org
COMMENT= A curses-based interface to the GNU Debugger
INFO= cgdb
MAN1= cgdb.1
GNU_CONFIGURE= yes
MAKE_JOBS_UNSAFE= yes
.include <bsd.port.pre.mk>
# at this time we can not use LIB_DEPENDS, please read ports/99327
.if ${OSVERSION} < 700016
BUILD_DEPENDS+= ${LOCALBASE}/lib/libreadline.so.6:${PORTSDIR}/devel/readline
RUN_DEPENDS:= ${BUILD_DEPENDS}
LDFLAGS+= -rpath ${LOCALBASE}/lib
CONFIGURE_ARGS+= --with-readline=${LOCALBASE}
.endif
post-patch:
@${REINPLACE_CMD} -e 's|dev_ptmx=yes|dev_ptmx=no|' ${WRKSRC}/configure
.include <bsd.port.post.mk>