diff options
author | obrien <obrien@FreeBSD.org> | 2004-03-25 02:22:20 +0000 |
---|---|---|
committer | obrien <obrien@FreeBSD.org> | 2004-03-25 02:22:20 +0000 |
commit | 4f11b7a4da2ec8a4d224f009d8c4c01476a2e666 (patch) | |
tree | 36393e75ba685683299b2ceeb6c6f2cb1663a3c8 /devel/gdb6 | |
parent | e3e9b999837bd6c16866224f1d4000d9d64a9e35 (diff) | |
download | FreeBSD-ports-4f11b7a4da2ec8a4d224f009d8c4c01476a2e666.zip FreeBSD-ports-4f11b7a4da2ec8a4d224f009d8c4c01476a2e666.tar.gz |
Use our system shared readline vs. the included static one.
Diffstat (limited to 'devel/gdb6')
-rw-r--r-- | devel/gdb6/Makefile | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/devel/gdb6/Makefile b/devel/gdb6/Makefile index b5275c1..0263a58 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 \ |