- Restore linking to libtermcap by default by

setting TERMCAP as default.
- Remove use of bsd.port.pre.mk
- Bump PORTREVISION as built package will be
  different now.

Approved by:	eadler (maintainer, implicit)
Approved by:	portmgr (beat)
Feature safe:	yes
This commit is contained in:
Bryan Drewery 2012-11-09 19:45:26 +00:00
parent c5d5f48eb2
commit 91031bb782
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=307248

View File

@ -3,6 +3,7 @@
PORTNAME= readline
PORTVERSION= 6.2
PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= ${MASTER_SITE_GNU} \
ftp://ftp.cwru.edu/pub/bash/
@ -12,17 +13,22 @@ MAINTAINER= eadler@FreeBSD.org
COMMENT= A library for editing command lines as they are typed
LICENSE= GPLv3
OPTIONS_DEFINE= TERMCAP
OPTIONS_DEFAULT=TERMCAP
TERMCAP_DESC= Link against libtermcap
GNU_CONFIGURE= yes
USE_LDCONFIG= yes
INFO= readline rluserman history
MAN3= readline.3 history.3
.include <bsd.port.pre.mk>
.include <bsd.port.options.mk>
pre-configure:
.if ${PORT_OPTIONS:MTERMCAP}
${REINPLACE_CMD} "s/SHOBJ_LDFLAGS =/SHOBJ_LDFLAGS = -ltermcap/" ${WRKSRC}/shlib/Makefile.in
.endif
.include <bsd.port.post.mk>
.include <bsd.port.mk>