aboutsummaryrefslogtreecommitdiff
path: root/devel/gdb6
diff options
context:
space:
mode:
authorDavid E. O'Brien <obrien@FreeBSD.org>2004-03-25 02:22:20 +0000
committerDavid E. O'Brien <obrien@FreeBSD.org>2004-03-25 02:22:20 +0000
commit9995ac08f9c364eb0c70fb55134835b8e941848c (patch)
tree96c1c4b86575be9f28f064da82a12634d353528c /devel/gdb6
parent219b30185a9edf352eb05e908208f4ef3f8d82a9 (diff)
downloadports-9995ac08f9c364eb0c70fb55134835b8e941848c.tar.gz
ports-9995ac08f9c364eb0c70fb55134835b8e941848c.zip
Notes
Diffstat (limited to 'devel/gdb6')
-rw-r--r--devel/gdb6/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/devel/gdb6/Makefile b/devel/gdb6/Makefile
index b5275c1ae4f7..0263a58fbb77 100644
--- a/devel/gdb6/Makefile
+++ b/devel/gdb6/Makefile
@@ -26,6 +26,7 @@ USE_GMAKE= yes
USE_REINPLACE= yes
GNU_CONFIGURE= yes
CONFIGURE_ARGS= --program-suffix=6
+CFLAGS+= -DRL_NO_COMPAT
.include <bsd.port.pre.mk>
@@ -45,9 +46,13 @@ post-patch:
do-patch: post-patch
@${ECHO} 'FreeBSD-specific patches disabled for now, until upgraded.'
+ @${REINPLACE_CMD} -e 's/^READLINE/#READLINE/' \
+ -e 's/^readline/#readline/' \
+ ${WRKSRC}/gdb/Makefile.in
+ echo 'READLINE = -lreadline' >> ${WRKSRC}/gdb/Makefile.in
pre-configure:
- cd ${WRKSRC} ; ${RM} -rf dejagnu expect sim tcl texinfo
+ cd ${WRKSRC} ; ${RM} -rf dejagnu expect readline sim tcl texinfo
do-install:
${INSTALL_PROGRAM} ${WRKSRC}/gdb/gdb \