Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 May 2024 23:00:22 +0000
From:      bugzilla-noreply@freebsd.org
To:        pkg@FreeBSD.org
Subject:   [Bug 279345] ports-mgmt/pkg: 1.21.3 will not build: missing pkg_repos.h
Message-ID:  <bug-279345-32340-XLPexEpUtX@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-279345-32340@https.bugs.freebsd.org/bugzilla/>
References:  <bug-279345-32340@https.bugs.freebsd.org/bugzilla/>

index | next in thread | previous in thread | raw e-mail

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=279345

--- Comment #9 from John Marshall <john@jmarshall.id.au> ---
Guilty!

- I had introduced local.sys.mk files on both systems (fine)
- Inspired by other .mk files, I had wrapped it in '.if !target()' (bad)

- If I removed local.sys.mk, I could build pkg.
- If I replaced local.sys.mk with an empty file, I could build pkg.
- If I introduced a single line with a target (__<local.sys.mk>__:), the build
of pkg would break.

It seems that having a target in local.sys.mk is bad news. I have replaced that
conditional wrapper with '.if !defined()' and the world is happy again.

Thank you Baptiste for giving some of your time to help me. Sorry again for the
noise.

-- 
You are receiving this mail because:
You are the assignee for the bug.

help

Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-279345-32340-XLPexEpUtX>