View | Details | Raw Unified | Return to bug 90900
Collapse All | Expand All

(-)/home/staff/gslin/work/cgdb/Makefile (-1 / +12 lines)
Lines 15-25 Link Here
15
COMMENT=	A curses-based interface to the GNU Debugger
15
COMMENT=	A curses-based interface to the GNU Debugger
16
16
17
GNU_CONFIGURE=	yes
17
GNU_CONFIGURE=	yes
18
USE_GETOPT_LONG=	yes
18
USE_REINPLACE=	yes
19
USE_REINPLACE=	yes
19
20
20
PLIST_FILES=	bin/cgdb
21
PLIST_FILES=	bin/cgdb
21
22
23
.include <bsd.port.pre.mk>
24
25
.if ${OSVERSION} < 500018
26
# This port requires readline 4.2 or newer, which is only available
27
# in the base system in FreeBSD 5.x or later.
28
BUILD_DEPENDS+=		${LOCALBASE}/lib/libreadline.so.5:${PORTSDIR}/devel/readline
29
RUN_DEPENDS+=		${LOCALBASE}/lib/libreadline.so.5:${PORTSDIR}/devel/readline
30
CONFIGURE_ARGS+=	--with-readline=${LOCALBASE}
31
.endif
32
22
post-patch:
33
post-patch:
23
	${REINPLACE_CMD} -e 's,libutil\.h,,g' ${WRKSRC}/configure
34
	${REINPLACE_CMD} -e 's,libutil\.h,,g' ${WRKSRC}/configure
24
35
25
.include <bsd.port.mk>
36
.include <bsd.port.post.mk>

Return to bug 90900