Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 11 Nov 2015 17:34:26 -0500
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        Baptiste Daroussin <bapt@FreeBSD.org>
Cc:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   Re: svn commit: r401297 - head/databases/firebird25-server
Message-ID:  <5643C272.5080309@FreeBSD.org>
In-Reply-To: <20151111221237.GO10134@ivaldir.etoilebsd.net>
References:  <201511112104.tABL4b3j045859@repo.freebsd.org> <20151111221237.GO10134@ivaldir.etoilebsd.net>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA256

On 11/11/15 05:12 PM, Baptiste Daroussin wrote:
> On Wed, Nov 11, 2015 at 09:04:37PM +0000, Jung-uk Kim wrote:
>> Author: jkim Date: Wed Nov 11 21:04:37 2015 New Revision: 401297 
>> URL: https://svnweb.freebsd.org/changeset/ports/401297
>> 
>> Log: Fix dependencies again since r401229 partially reverted
>> r398897, which was my attempt to remove redundant libedit.so from
>> dependencies for server. However, it was incomplete because
>> BUILD_DEPENDS was left for configure. Now firebird25-server does
>> not directly require devel/libedit any more.
> 
> libedit is enforced from ports, for some reasons. the libedit in
> base in 9 and 10 is broken as not supporting correctly unicode.
> 
> There is a trend to try rely on ports as much as possible for some
> things like ncurses (not done yet), libarchive, libedit etc.
> 
> The reason is we have to maintain various version of freebsd and
> those libraries can be old, broken, or have different API/ABI: -
> openssl is a big case where it causes issues, and probably the
> most complicated one given that if you start doing it then you need
> to bring gssapi, kerberos, etc along with it. - libedit showed the
> issue with unicode and only 11 and 10.3 will have a fixed version -
> libarchive had 2 different API/ABI accross version not that long
> ago, and can be built differently: libmd or libcrypto which can
> make things complicated for ports. - ncurses was dead old until
> recently and it is still a castrated version we have in base (no
> binaries, just the libs)
> 
> USES=libedit is an attempt to fix that. for libedit (making sure
> all the version of freebsd can ship a valid unicode for ruby cli,
> unlike osx for example)
> 
> it also simplify the life of the people working on ports. By
> reducing the pain supporting multiple version of various libs.
> 
> There are also lots of people asking for a "ports compiler" to only
> have to deal with a limited set of differents compilers.

Yes, I understand all of the above issues.  However, what I dislike is
the fact that USES=libedit implies USES=localbase.  Therefore, it
unconditionally spams CFLAGS, CPPFLAGS, CXXFLAGS, and LDFLAGS.
Unfortunately, it makes it very hard to deal with complex compiler
flags.  For example, USES=libedit should not be used with OpenSSL if
you have multiple libcrypto unless the port requires one from
${LOCALBASE}. :-(

Jung-uk Kim
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAEBCAAGBQJWQ8JuAAoJEHyflib82/FG0mIH/1FzpsQi7eUBxQFvWOVJaE3Z
yq/aVZpE5DoRVv6GIcIcfwNG/Vio+0uYMI0/fY22gYzV5ukTzP0yW8xHaGYQll3F
X7Gtb8WjbdWRtfX+XYPfSdGWCWLbSmlFb5zUfICURP0FkhA0m7oMA8g7kYSvu2rS
EeLscmIZMB0VZG2AUcgiUVCRz5yebtxLj+eiOvTShwBhPGNHKAh/JfK7nH1LWMBK
yfKszO0frAJx4Vp9tVWevoYqx3jXTCd4bafWcTHSeRtNzIh43uXQYvwq1qitSGkf
Xz84FlTsflmsGMEg+kXgo+JhOe1pTWwal358Oaoo6FhlsJz9DkqJX7b6FFm/Mcs=
=yGSq
-----END PGP SIGNATURE-----



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