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)
This commit is contained in:
Guido Falsi 2014-11-01 10:37:06 +00:00
parent de5c6806a0
commit 4f487eae80
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=372001

View file

@ -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-mirror pkg-sell auto-accept
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 queries
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-config --ldflags`
UNICODE61_CPPFLAGS_OFF= -DSQLITE_DISABLE_FTS3_UNICODE=1
READLINE_CONFIGURE_ENABLE= readline
READLINE_USES= readline
.include <bsd.port.options.mk>
post-configure: