diff options
author | ryoon <ryoon@pkgsrc.org> | 2016-01-08 21:41:36 +0000 |
---|---|---|
committer | ryoon <ryoon@pkgsrc.org> | 2016-01-08 21:41:36 +0000 |
commit | b06b383ed65364a148aca52e3b5ba8e4dab9f211 (patch) | |
tree | f02bc8aaa939ffc66794ed3bc22b5dcd14ca941a /databases/sqlite3 | |
parent | 131a680e0ead41f8f2e04cd662bfc7df4b0b1808 (diff) | |
download | pkgsrc-b06b383ed65364a148aca52e3b5ba8e4dab9f211.tar.gz |
On NetBSD-current, libedit provides readline-like interface. Fix build
Diffstat (limited to 'databases/sqlite3')
-rw-r--r-- | databases/sqlite3/Makefile | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/databases/sqlite3/Makefile b/databases/sqlite3/Makefile index 8ab19595e48..fe73d84e38c 100644 --- a/databases/sqlite3/Makefile +++ b/databases/sqlite3/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.100 2016/01/08 14:43:10 adam Exp $ +# $NetBSD: Makefile,v 1.101 2016/01/08 21:41:36 ryoon Exp $ DISTNAME= sqlite-autoconf-${SQLITE3_DISTVERSION} PKGNAME= sqlite3-${SQLITE3_VERSION} @@ -53,5 +53,11 @@ LDFLAGS.SCO_SV+= -lpthread .endif .include "../../mk/readline.buildlink3.mk" +.if ${READLINE_TYPE} == "editline" && ${IS_BUILTIN.editline} == "yes" && \ + (!empty(MACHINE_PLATFORM:MNetBSD-7.99*-*) || \ + !empty(MACHINE_PLATFORM:MNetBSD-[89]*-*)) +LIBS+= -ledit +.endif + .include "../../mk/dlopen.buildlink3.mk" .include "../../mk/bsd.pkg.mk" |