From owner-freebsd-gnome@FreeBSD.ORG Thu Jul 15 16:30:31 2004 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 720BD16A4CE for ; Thu, 15 Jul 2004 16:30:31 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3298643D45 for ; Thu, 15 Jul 2004 16:30:31 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i6FGUVPB074655 for ; Thu, 15 Jul 2004 16:30:31 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i6FGUVKb074649; Thu, 15 Jul 2004 16:30:31 GMT (envelope-from gnats) Date: Thu, 15 Jul 2004 16:30:31 GMT Message-Id: <200407151630.i6FGUVKb074649@freefall.freebsd.org> To: gnome@FreeBSD.org From: Pav Lucistnik Subject: Re: ports/69093: [patch] devel/pkgconfig does not search for .pc files in libdir/pkgconfig X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Pav Lucistnik List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 15 Jul 2004 16:30:31 -0000 The following reply was made to PR ports/69093; it has been noted by GNATS. From: Pav Lucistnik To: Konstantin Oznobihin Cc: freebsd-gnats-submit@FreeBSD.org Subject: Re: ports/69093: [patch] devel/pkgconfig does not search for .pc files in libdir/pkgconfig Date: Thu, 15 Jul 2004 18:22:34 +0200 --=-fF/cVJYu8MdwqoqcpmvV Content-Type: text/plain; charset=iso-8859-2 Content-Transfer-Encoding: quoted-printable V =E8t, 15. 07. 2004 v 18:13, Konstantin Oznobihin p=ED=B9e: > > > > Depends on point of view. You call it a bug, we call it a feature. = It > > > > was deliberately added to our port of pkgconfig three years ago. It= cost > > > > us a lot of effort to keep up with it since. It help pkgconfig to > > > > conform to FreeBSD hierarchy rules, which say "only shared binary f= iles > > > > under lib/, indirectly executed binaries under libexec/, non-execut= able > > > > stuff under libdata/". I'm not sure we want to drop this feature, t= aking > > > > the effort we put into it in past. > > >=20 > > > I am definitely not want you to drop this feature. As you can see my > > > patch just adds ${PREFIX}/lib to the existing list of directories. I > > > agree that when it is possible we should make ports conform with Free= BSD > > > rules. Also, I think that looking for things other than shared librar= ies > > > in lib would not be a big violation of FreeBSD rules, especially if t= his > > > behavior complies with rules of the paticular software. > >=20 > > Existing behavior gives us a lever to force people to patch their ports > > and conform to hierarchy. If we would allow both /lib and /libdata, how > > many port maintainers do you think would bother to patch lib->libdata? > >=20 > > Changing the location of .pc file is usually a one-line patch to > > Makefile.in > Well, if it is just a one-line patch then I think that most of > maintainers first or last will done it. I want to notice however that > impossibility to use pkgconfig does not creates any problems to the > maintainers of such ports, this situation hinders those who rely on them > (e.g. lang/ruby18 which depends on openssl). OpenSSL is special, because it's part of base system. OpenSSL in base does not come with .pc file at all! And there is a special OpenSSL framework in ports, hidden behind USE_OPENSSL knob, which account for various combinations of base and port OpenSSL. I agree that security/openssl port should install openssl.pc into libdata/pkgconfig, and I believe dinoex@FreeBSD.org (maintainer of openssl port) will welcome and apply patches in this regard. --=20 Pav Lucistnik Thank God we're theoretical physicists so we don't have to get our hands dirty with particle accelerators and other heavy machinery. --=-fF/cVJYu8MdwqoqcpmvV Content-Type: application/pgp-signature; name=signature.asc Content-Description: Toto je =?iso-8859-2?Q?digit=E1ln=EC?= =?ISO-8859-1?Q?_podepsan=E1?= =?iso-8859-2?Q?_=E8=E1st?= =?ISO-8859-1?Q?_zpr=E1vy?= -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (FreeBSD) iD8DBQBA9q9KntdYP8FOsoIRApInAJ92BFrSxA1K+Yhnexy+Ni2P/p0T/QCgrFOT nQ3DnRZuJgH0A8JaaP7w0+c= =emF/ -----END PGP SIGNATURE----- --=-fF/cVJYu8MdwqoqcpmvV--