aboutsummaryrefslogtreecommitdiff
path: root/devel/readline
diff options
context:
space:
mode:
authorVolker Stolz <vs@FreeBSD.org>2004-09-03 14:30:20 +0000
committerVolker Stolz <vs@FreeBSD.org>2004-09-03 14:30:20 +0000
commitcf815ad2285b79bbde591eee99d76e08040a74e0 (patch)
treec4d835a368ddac07accb95b4ddcd6dca54b5eb12 /devel/readline
parent3a3b9da006b67d957d15d664e3826dd11f26a432 (diff)
downloadports-cf815ad2285b79bbde591eee99d76e08040a74e0.tar.gz
ports-cf815ad2285b79bbde591eee99d76e08040a74e0.zip
Notes
Diffstat (limited to 'devel/readline')
-rw-r--r--devel/readline/Makefile6
1 files changed, 6 insertions, 0 deletions
diff --git a/devel/readline/Makefile b/devel/readline/Makefile
index 44a8b4277b07..30f045f885db 100644
--- a/devel/readline/Makefile
+++ b/devel/readline/Makefile
@@ -20,8 +20,14 @@ COMMENT= A library for editing command lines as they are typed
GNU_CONFIGURE= yes
INSTALLS_SHLIB= yes
+USE_REINPLACE= yes
INFO= readline rluserman history
MAN3= readline.3 history.3
+pre-configure:
+.if !defined(WITHOUT_TERMCAP)
+ ${REINPLACE_CMD} "s/SHOBJ_LDFLAGS =/SHOBJ_LDFLAGS = -ltermcap/" ${WRKSRC}/shlib/Makefile.in
+.endif
+
.include <bsd.port.mk>