Date: Wed, 14 Jan 2015 22:27:14 -0800 From: Waitman Gobble <gobble.wa@gmail.com> To: freebsd-ports@freebsd.org Subject: postgresql93 port and libedit Message-ID: <CAFuo_fzX5i357NofZ2DFkz_=qDZzdNdGKdT8RfhoTN-wo=YDSA@mail.gmail.com>
next in thread | raw e-mail | index | archive | help
Hi, I noticed that postgresql93-client port pulls in readline, which is GPLv3. When I get rid of readline in Makefile 'USES' and also change the bottom of the Makefile in postgresql93-server, ... .include "${.CURDIR}/../postgresql92-server/Makefile" CONFIGURE_ARGS+=--with-libedit-preferred It builds without readline and links against libedit in base: # ldd /usr/local/bin/psql /usr/local/bin/psql: libpq.so.5 => /usr/local/lib/libpq.so.5 (0x800885000) libintl.so.8 => /usr/local/lib/libintl.so.8 (0x800ab3000) libssl.so.7 => /usr/lib/libssl.so.7 (0x800cbe000) libedit.so.7 => /lib/libedit.so.7 (0x800f2a000) libthr.so.3 => /lib/libthr.so.3 (0x801161000) libc.so.7 => /lib/libc.so.7 (0x801385000) libcrypto.so.7 => /lib/libcrypto.so.7 (0x80171e000) libncursesw.so.8 => /lib/libncursesw.so.8 (0x801b16000) .. there's a link to gettext libintl but that's LGPL (2.1) Anyhow I haven't done testing with psql linked to libedit instead of readline.. There's some noise about this a few years back but I don't see anything recent. Anyone have any 'bad' recent experience with libedit? pitfalls? It might be good to have libedit added as an option. I'm working on an appliance and the readline dependency kinda messes things up a bit for me. Obviously other remedies beyond ports but I think it could be a nice option. Comments appreciated. Thanks, -- Waitman Gobble Los Altos California USA 510-830-7975
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAFuo_fzX5i357NofZ2DFkz_=qDZzdNdGKdT8RfhoTN-wo=YDSA>