svn commit: r401297 - head/databases/firebird25-server

Jung-uk Kim jkim at FreeBSD.org
Wed Nov 11 22:34:28 UTC 2015


-----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-----


More information about the svn-ports-head mailing list