From owner-svn-ports-all@freebsd.org Wed Nov 11 22:34:28 2015 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 0881AA2C027; Wed, 11 Nov 2015 22:34:28 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from mx2.freebsd.org (mx2.freebsd.org [8.8.178.116]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "mx2.freebsd.org", Issuer "Gandi Standard SSL CA 2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id EE4771863; Wed, 11 Nov 2015 22:34:27 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Received: from hammer.pct.niksun.com (freefall.freebsd.org [IPv6:2001:1900:2254:206c::16:87]) by mx2.freebsd.org (Postfix) with ESMTP id 94B55143E; Wed, 11 Nov 2015 22:34:26 +0000 (UTC) (envelope-from jkim@FreeBSD.org) Subject: Re: svn commit: r401297 - head/databases/firebird25-server To: Baptiste Daroussin References: <201511112104.tABL4b3j045859@repo.freebsd.org> <20151111221237.GO10134@ivaldir.etoilebsd.net> Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org From: Jung-uk Kim X-Enigmail-Draft-Status: N1110 Message-ID: <5643C272.5080309@FreeBSD.org> Date: Wed, 11 Nov 2015 17:34:26 -0500 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:38.0) Gecko/20100101 Thunderbird/38.3.0 MIME-Version: 1.0 In-Reply-To: <20151111221237.GO10134@ivaldir.etoilebsd.net> Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 11 Nov 2015 22:34:28 -0000 -----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-----