From nobody Thu Jul 28 23:08:43 2022 X-Original-To: freebsd-hackers@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4Lv5th2gCvz4XFY4 for ; Thu, 28 Jul 2022 23:09:00 +0000 (UTC) (envelope-from andrea@pappacoda.it) Received: from mail.pappacoda.it (mail.pappacoda.it [128.116.175.254]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4Lv5tg4DYGz44RW; Thu, 28 Jul 2022 23:08:59 +0000 (UTC) (envelope-from andrea@pappacoda.it) Received: from [192.168.178.107] (orino.pappacoda.it [128.116.201.23]) by mail.pappacoda.it (Postfix) with ESMTPSA id AF0273D520; Fri, 29 Jul 2022 01:08:50 +0200 (CEST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=pappacoda.it; s=20211226; t=1659049731; bh=f87KdmqDVqsj6Fl6BIQf+o0g2mtS0y+YW+A3AEbIICM=; h=Date:From:Subject:To:Cc:In-Reply-To:References:From; b=ldyAzWqWze3sYT80Mm1R60S/HWurc1XwHZO9LANupdN2UdSMfA7S0s9Da1nXJL1AR K9GMRYI88Nyi1baMxPlurQHVOxyEBbFihYitEMibNTtrlhR1Qv/ugq5esfAdpTlSgp b67A8jBKnhJDhSHSMgOnVzoz+RffqI/AVy9WEqMPKGDuugAebjv6lm8g+gjNb20A1+ OZ4FyhR+S8HoSAYxmhpTKlB3XYDFAZ0+tuZsAmsYcymJQmGxHrgtO1Nkm7t4lZkcLa JtqQxD0I3742blhuqz7rRFGYh6H7VfjhFIppFcw/6HTiGeYMUo0JH8IrKu7zVkBNpQ I1z18mZAFcFlw== Date: Fri, 29 Jul 2022 01:08:43 +0200 From: Andrea Pappacoda Subject: Re: pkg-config and share/ To: Baptiste Daroussin Cc: Daniel Engberg , Alex Dupre , freebsd-hackers@FreeBSD.org Message-Id: In-Reply-To: References: <50B3D276-5E68-4F87-97FB-71D75D3D9602@pappacoda.it> <20220725081535.vuxy74odqt2cxdnw@aniel.nours.eu> <20220725090824.qfeypgyugx6f7i6q@aniel.nours.eu> <20220725111046.7sr7yyvsm5f3hyhj@aniel.nours.eu> X-Mailer: geary/40.0 List-Id: Technical discussions relating to FreeBSD List-Archive: https://lists.freebsd.org/archives/freebsd-hackers List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-freebsd-hackers@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed X-Rspamd-Queue-Id: 4Lv5tg4DYGz44RW X-Spamd-Bar: --- Authentication-Results: mx1.freebsd.org; dkim=pass header.d=pappacoda.it header.s=20211226 header.b=ldyAzWqW; dmarc=pass (policy=reject) header.from=pappacoda.it; spf=pass (mx1.freebsd.org: domain of andrea@pappacoda.it designates 128.116.175.254 as permitted sender) smtp.mailfrom=andrea@pappacoda.it X-Spamd-Result: default: False [-4.00 / 15.00]; NEURAL_HAM_LONG(-1.00)[-1.000]; NEURAL_HAM_MEDIUM(-1.00)[-1.000]; NEURAL_HAM_SHORT(-1.00)[-0.999]; DMARC_POLICY_ALLOW(-0.50)[pappacoda.it,reject]; R_SPF_ALLOW(-0.20)[+mx]; R_DKIM_ALLOW(-0.20)[pappacoda.it:s=20211226]; MIME_GOOD(-0.10)[text/plain]; MLMMJ_DEST(0.00)[freebsd-hackers@FreeBSD.org]; MIME_TRACE(0.00)[0:+]; FROM_EQ_ENVFROM(0.00)[]; ASN(0.00)[asn:35612, ipnet:128.116.128.0/17, country:IT]; RCVD_VIA_SMTP_AUTH(0.00)[]; TO_MATCH_ENVRCPT_SOME(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; MID_RHS_MATCH_FROM(0.00)[]; ARC_NA(0.00)[]; DKIM_TRACE(0.00)[pappacoda.it:+]; FROM_HAS_DN(0.00)[]; TO_DN_SOME(0.00)[]; RCPT_COUNT_THREE(0.00)[4]; RCVD_TLS_ALL(0.00)[] X-ThisMailContainsUnwantedMimeParts: N Il giorno lun 25 lug 2022 alle 15:56:12 +02:00:00, Andrea Pappacoda ha scritto: >> what is >> fundamentally different from share/pkgconfig and libdata/pkgconfig >> beside the >> name of the directory? > > I guess the difference is in the meaning of the two locations. If a > .pc file is in share/ you can be sure it can be used for cross > compilation, as share/ only contains arch-independent stuff. And if > it is in libdata/? Maybe, I can't know, it could be either > arch-specific or arch-independent. Hi Bapt, sorry to ping this thread, but I think I forgot to specify my intents clearly. Given the usefulness of using share/pkgconfig/, and the fact that pkgconf upstream and many different OSes use that directory too, would you consider making your pkgconf honour that directory too? If not, could you please point me to where I should go / who should I ask to make the Ports system move .pc files from share/ to libdata/? As Daniel (diizzy) mentioned, it seems that currently only files from lib/ are moved to libdata/. If you're not convinced of share/'s usefulness, please pay this thread a visit: https://github.com/marzer/tomlplusplus/pull/165 Thanks for your time!