Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 1 Nov 2014 10:37:06 +0000 (UTC)
From:      Guido Falsi <madpilot@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r372001 - head/databases/sqlite3
Message-ID:  <201411011037.sA1Ab6wd046631@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: madpilot
Date: Sat Nov  1 10:37:06 2014
New Revision: 372001
URL: https://svnweb.freebsd.org/changeset/ports/372001
QAT: https://qat.redports.org/buildarchive/r372001/

Log:
  Add READLINE option and conditionally add readline to USES, this
  fixes command line editing on head, which does not install libreadline
  anymore in base.
  
  While heere also add ncurses USES.
  
  PR:		194717
  Submitted by:	me
  Approved by:	Pavel Volkov <pavelivolkov at gmail.com> (maintainer)

Modified:
  head/databases/sqlite3/Makefile

Modified: head/databases/sqlite3/Makefile
==============================================================================
--- head/databases/sqlite3/Makefile	Sat Nov  1 10:00:57 2014	(r372000)
+++ head/databases/sqlite3/Makefile	Sat Nov  1 10:37:06 2014	(r372001)
@@ -3,6 +3,7 @@
 
 PORTNAME=	sqlite3
 PORTVERSION=	3.8.7
+PORTREVISION=	1
 CATEGORIES=	databases
 MASTER_SITES=	http://www.sqlite.org/2014/ http://www2.sqlite.org/2014/ http://www3.sqlite.org/2014/
 DISTNAME=	sqlite-autoconf-3080700
@@ -17,7 +18,7 @@ LICENSE_PERMS=	dist-mirror dist-sell pkg
 
 CONFLICTS=	sqlite34-[0-9]* sqlcipher-[0-9]*
 
-USES=		pathfix libtool
+USES=		pathfix libtool ncurses
 USE_LDCONFIG=	yes
 GNU_CONFIGURE=	yes
 INSTALL_TARGET=	install-strip
@@ -26,7 +27,8 @@ MAKE_JOBS_UNSAFE=	yes
 
 # Compilation Options For SQLite http://www.sqlite.org/compile.html
 OPTIONS_DEFINE=	FTS4 UPD_DEL_LIMIT URI URI_AUTHORITY SOUNDEX METADATA \
-		DIRECT_READ MEMMAN SECURE_DELETE UNLOCK_NOTIFY THREADS EXTENSION
+		DIRECT_READ MEMMAN SECURE_DELETE UNLOCK_NOTIFY THREADS \
+		EXTENSION READLINE
 OPTIONS_SINGLE=	RAMT
 OPTIONS_RADIO=	STAT
 OPTIONS_GROUP=	UNICODE RTREEG
@@ -66,7 +68,8 @@ RTREEG_DESC=		Index type for range queri
 RTREE_DESC=		Enable R*Tree module
 RTREE_INT_DESC=		Store 32-bit sig int (no float) coordinates
 
-OPTIONS_DEFAULT=	FTS4 URI METADATA SECURE_DELETE UNLOCK_NOTIFY THREADS EXTENSION TS1 UNICODE61 RTREE
+OPTIONS_DEFAULT=	FTS4 URI METADATA SECURE_DELETE UNLOCK_NOTIFY THREADS \
+			EXTENSION TS1 UNICODE61 RTREE READLINE
 # SECURE_DELETE, UNLOCK_NOTIFY used by www/firefox, www/libxul
 # RTREE used by graphics/mapnik, databases/spatialite
 
@@ -122,6 +125,9 @@ ICU_LDFLAGS=	`${LOCALBASE}/bin/icu-confi
 
 UNICODE61_CPPFLAGS_OFF=	-DSQLITE_DISABLE_FTS3_UNICODE=1
 
+READLINE_CONFIGURE_ENABLE=	readline
+READLINE_USES=	readline
+
 .include <bsd.port.options.mk>
 
 post-configure:



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