diff options
author | bdrewery <bdrewery@FreeBSD.org> | 2012-11-10 03:45:26 +0800 |
---|---|---|
committer | bdrewery <bdrewery@FreeBSD.org> | 2012-11-10 03:45:26 +0800 |
commit | db8b16b9fce693174d4df6c8913243160e452ed5 (patch) | |
tree | 4d37564632f25630310828faeb19865bdb507453 | |
parent | e059c0f1ad202fb5edf89925c2cd362f3bb1d4b9 (diff) | |
download | freebsd-ports-gnome-db8b16b9fce693174d4df6c8913243160e452ed5.tar.gz freebsd-ports-gnome-db8b16b9fce693174d4df6c8913243160e452ed5.tar.zst freebsd-ports-gnome-db8b16b9fce693174d4df6c8913243160e452ed5.zip |
- 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
-rw-r--r-- | devel/readline/Makefile | 10 |
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> |