summaryrefslogtreecommitdiffstats
path: root/devel/cgdb/Makefile
blob: e24b5c9b7035c7037f220640a8b6b8ff78a77af3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Created by: Gea-Suan Lin <gslin@gslin.org>
# $FreeBSD$

PORTNAME=	cgdb
PORTVERSION=	0.6.8
PORTREVISION=	1
CATEGORIES=	devel
MASTER_SITES=	http://cgdb.me/files/

MAINTAINER=	serio.jeffrey@gmail.com
COMMENT=	Curses-based interface to the GNU Debugger

LICENSE=	GPLv2
LICENSE_FILE=	${WRKSRC}/COPYING

BUILD_DEPENDS=	help2man:misc/help2man

USES=		makeinfo readline

INFO=		cgdb

GNU_CONFIGURE=	yes
MAKE_JOBS_UNSAFE=	yes

# we need this for openpty(3) . It sucks,
# but since cgdb include a libutil itself,
# we have to specify the full path.
LDFLAGS+=	/usr/lib/libutil.so

post-patch:
	@${REINPLACE_CMD} -e 's|dev_ptmx=yes|dev_ptmx=no|' ${WRKSRC}/configure

.include <bsd.port.mk>
OpenPOWER on IntegriCloud