From nobody Sun May 07 00:04:31 2023 X-Original-To: dev-commits-ports-all@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 4QDPmh2tKNz49M4b; Sun, 7 May 2023 00:04:36 +0000 (UTC) (envelope-from diizzy@FreeBSD.org) Received: from relay1-d.mail.gandi.net (relay1-d.mail.gandi.net [IPv6:2001:4b98:dc4:8::221]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4QDPmf6b1Tz4Qdk; Sun, 7 May 2023 00:04:34 +0000 (UTC) (envelope-from diizzy@FreeBSD.org) Authentication-Results: mx1.freebsd.org; dkim=none; spf=softfail (mx1.freebsd.org: 2001:4b98:dc4:8::221 is neither permitted nor denied by domain of diizzy@FreeBSD.org) smtp.mailfrom=diizzy@FreeBSD.org; dmarc=none Received: (Authenticated sender: daniel.engberg@pyret.net) by mail.gandi.net (Postfix) with ESMTPA id A87B2240002; Sun, 7 May 2023 00:04:31 +0000 (UTC) List-Id: Commit messages for all branches of the ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-all List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-all@freebsd.org X-BeenThere: dev-commits-ports-all@freebsd.org MIME-Version: 1.0 Date: Sun, 07 May 2023 02:04:31 +0200 From: Daniel Engberg To: ports-committers@freebsd.org Cc: dev-commits-ports-all@freebsd.org, dev-commits-ports-main@freebsd.org Subject: Re: git: af209cebad90 - main - Mk/bsd.port.mk: Enable verbose output when pkgconfig file(s) ends up in wrong path In-Reply-To: <202305060548.3465mAC1031155@gitrepo.freebsd.org> References: <202305060548.3465mAC1031155@gitrepo.freebsd.org> Message-ID: <25b14db78b8faceae7ba70d98703a2f9@FreeBSD.org> X-Sender: diizzy@FreeBSD.org Content-Type: text/plain; charset=US-ASCII; format=flowed Content-Transfer-Encoding: 7bit X-Spamd-Result: default: False [-2.26 / 15.00]; NEURAL_HAM_LONG(-0.99)[-0.995]; NEURAL_HAM_MEDIUM(-0.99)[-0.988]; RCVD_IN_DNSWL_LOW(-0.10)[2001:4b98:dc4:8::221:from]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_SHORT(-0.07)[-0.073]; MLMMJ_DEST(0.00)[dev-commits-ports-all@freebsd.org,dev-commits-ports-main@freebsd.org]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; R_DKIM_NA(0.00)[]; RCVD_COUNT_TWO(0.00)[2]; ASN(0.00)[asn:29169, ipnet:2001:4b98::/32, country:FR]; RCVD_TLS_LAST(0.00)[]; R_SPF_SOFTFAIL(0.00)[~all:c]; DMARC_NA(0.00)[freebsd.org]; FREEFALL_USER(0.00)[diizzy]; RCVD_VIA_SMTP_AUTH(0.00)[]; MID_RHS_MATCH_FROM(0.00)[]; FROM_HAS_DN(0.00)[]; TO_MATCH_ENVRCPT_ALL(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; TO_DN_NONE(0.00)[]; ARC_NA(0.00)[] X-Rspamd-Queue-Id: 4QDPmf6b1Tz4Qdk X-Spamd-Bar: -- X-ThisMailContainsUnwantedMimeParts: N On 2023-05-06 07:48, Daniel Engberg wrote: > The branch main has been updated by diizzy: > > URL: > https://cgit.FreeBSD.org/ports/commit/?id=af209cebad90f67199b65c0c1737f7d187498a12 > > commit af209cebad90f67199b65c0c1737f7d187498a12 > Author: Daniel Engberg > AuthorDate: 2023-05-06 05:44:57 +0000 > Commit: Daniel Engberg > CommitDate: 2023-05-06 05:47:44 +0000 > > Mk/bsd.port.mk: Enable verbose output when pkgconfig file(s) ends > up in wrong path > > To avoid confusion and silently fix issues that occurs > > Reviewed by: mat > Approved by: portmgr (bofh) > --- > Mk/bsd.port.mk | 4 ++++ > 1 file changed, 4 insertions(+) > > diff --git a/Mk/bsd.port.mk b/Mk/bsd.port.mk > index 0133d7242579..703a8541e383 100644 > --- a/Mk/bsd.port.mk > +++ b/Mk/bsd.port.mk > @@ -3531,6 +3531,10 @@ install-ldconfig-file: > fixup-lib-pkgconfig: > @if [ -d ${STAGEDIR}${PREFIX}/lib/pkgconfig ]; then \ > if [ -z "$$(${FIND} ${STAGEDIR}${PREFIX}/lib/pkgconfig -maxdepth 0 > -empty)" ]; then \ > + if [ -n "${DEVELOPER:Dyes}" ]; then \ > + ${ECHO_MSG} "===> File(s) found in lib/pkgconfig while correct > path is libdata/pkgconfig"; \ > + ${ECHO_MSG} " Applying fix but consider using USES= pathfix > or adjust install path"; \ > + fi; \ > ${MKDIR} ${STAGEDIR}${PREFIX}/libdata/pkgconfig; \ > ${MV} ${STAGEDIR}${PREFIX}/lib/pkgconfig/* > ${STAGEDIR}${PREFIX}/libdata/pkgconfig; \ > fi; \ Hi, I apologize for incorrect commit message, it should've also referenced: https://reviews.freebsd.org/D38136 Best regards, Daniel