pkgsrc-Users archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: Is it possible to blacklist a package and its reverse dependencies?



On Wed, 19 Jun 2019 at 09:35, Ottavio Caruso
<ottavio2006-usenet2012%yahoo.com@localhost> wrote:
>
> Hi,
>
> I put this in my mk.conf:
>
> PKG_DEFAULT_OPTIONS= -dbus
>
> but pkgsrc will still build and install dbus if it's listed as dependency.
>
> I'd like to understand the logic behind this pkgsrc behaviour.


You could add something like this to your mk.conf (never build is a
space separated list of PKGPATH values)

NEVER_BUILD=sysutils/dbus
.if !empty(NEVER_BUILD:M${PKGPATH})
  BROKEN?=NEVER_BUILD set
.endif


Home | Main Index | Thread Index | Old Index