Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 9 Nov 2012 19:45:26 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r307248 - head/devel/readline
Message-ID:  <201211091945.qA9JjQdC043353@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Fri Nov  9 19:45:26 2012
New Revision: 307248
URL: http://svnweb.freebsd.org/changeset/ports/307248

Log:
  - 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

Modified:
  head/devel/readline/Makefile

Modified: head/devel/readline/Makefile
==============================================================================
--- head/devel/readline/Makefile	Fri Nov  9 19:09:32 2012	(r307247)
+++ head/devel/readline/Makefile	Fri Nov  9 19:45:26 2012	(r307248)
@@ -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>



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201211091945.qA9JjQdC043353>