aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryan Drewery <bdrewery@FreeBSD.org>2012-11-09 20:10:48 +0000
committerBryan Drewery <bdrewery@FreeBSD.org>2012-11-09 20:10:48 +0000
commit4c4d6747d78c0127295a71bb7866dd4c0b5b8f4f (patch)
tree50788e1cd7d1f58e943dea70735bff8516611d01
parent6a82be9c1dbda919a7a1a0bb421e41f5ad376de0 (diff)
downloadports-4c4d6747d78c0127295a71bb7866dd4c0b5b8f4f.tar.gz
ports-4c4d6747d78c0127295a71bb7866dd4c0b5b8f4f.zip
MFH r307248
- 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
Notes
Notes: svn path=/branches/RELENG_9_1_0/; revision=307250
-rw-r--r--devel/readline/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/devel/readline/Makefile b/devel/readline/Makefile
index 95b2e010a4bf..2c0e691187e8 100644
--- a/devel/readline/Makefile
+++ b/devel/readline/Makefile
@@ -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>