- Link properly with termcap/ncurses

- Add WITHOUT_TERMCAP-knob

Submitted by: maintainer
This commit is contained in:
Volker Stolz 2004-09-03 14:30:20 +00:00
parent 3a3b9da006
commit cf815ad228
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=118037

View file

@ -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>