From owner-svn-ports-head@freebsd.org Wed Mar 8 11:18:32 2017 Return-Path: Delivered-To: svn-ports-head@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 21851D02DF4; Wed, 8 Mar 2017 11:18:32 +0000 (UTC) (envelope-from des@des.no) Received: from smtp.des.no (smtp.des.no [194.63.250.102]) by mx1.freebsd.org (Postfix) with ESMTP id DF30E1D8E; Wed, 8 Mar 2017 11:18:31 +0000 (UTC) (envelope-from des@des.no) Received: from desk.des.no (smtp.des.no [194.63.250.102]) by smtp.des.no (Postfix) with ESMTP id 9AB4C10592; Wed, 8 Mar 2017 11:18:29 +0000 (UTC) Received: by desk.des.no (Postfix, from userid 1001) id 9F6074FD3; Wed, 8 Mar 2017 12:18:30 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Mathieu Arnold Cc: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r435576 - head/devel/pkgconf References: <201703070103.v2713JtB059883@repo.freebsd.org> Date: Wed, 08 Mar 2017 12:18:30 +0100 In-Reply-To: (Mathieu Arnold's message of "Tue, 7 Mar 2017 22:02:44 +0100") Message-ID: <86varkow3d.fsf@desk.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/25.1 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-BeenThere: svn-ports-head@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree for head List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Mar 2017 11:18:32 -0000 Mathieu Arnold writes: > I am wondering how you came to commit this without getting approval > from portmgr. I had approval from the port maintainer. > We always had a policy about putting the pkg-config files in > libdata/pkgconfig and not in lib. And you just changed that 20 years > old policy without even a discussion about the repercussions it would > have. 1) I did not intentionally change the location where ports install pc files. I just changed the search path to include the *default location* for pc files from software that uses autoconf / automake. 2) It did not occur to me that some ports would use the search path to decide where to install their pc files. I didn't know that was possible, and I still don't understand how they do it, because there is no documented command to retrieve that path. Software that uses autoconf should use ${pkgconfdir}, which is still libdata/pkgconfig. Software that uses autoconf and automake should use "pkgconfig_DATA =3D foo.pc" in their Makefile.am. 3) My initial patch placed libdata first and lib second. The port maintainer reviewed my patch and asked me to invert it. I assumed that he had a good reason for it. > So, before changing this policy, I am going to ask you, as portmgr, to > please back the change out. Why do I have the feeling that you're doing this purely out of spite? Because as it currently stands (after your followup commit), the patch has no effect on ports, but greatly facilitates life for developers. I think you're forgetting that pkgconf does not exist solely for the use of the ports tree, but also for the use of developers who write software on FreeBSD. I fought that battle 10+ years over autoconf / automake and prevailed. I'm disappointed to learn that I have to fight it again over pkgconf, although I'm happy to learn that portmgr is taking an interest in it, since last time I tried to get involved it was considered a part of Gnome rather than a development tool in its own right. I was equally disappointed to learn that nobody is interested in fixing similar issues in the gcc ports which make it impossible (not just difficult, but *impossible*) to use gcc to develop libraries on FreeBSD. Do you realize that you are actively fighting to make or keep FreeBSD a difficult platform for developers to work on? Do you really want people who currently use FreeBSD as their primary development platform to switch to Linux and port their software to FreeBSD as an afterthought? Because that is where you are headed. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no