portmaster and local ports (Was: Re: portupgrade O(n^m)?)

Doug Barton dougb at FreeBSD.org
Thu Feb 15 21:54:34 UTC 2007


David Gilbert wrote:
>>>>>> "Jeremy" == Jeremy Messenger <mezz7 at cox.net> writes:
> 
> Jeremy> Give ports-mgmt/portmaster a try.
> 
> I just did.  One flaw it has is that I have two no longer supported
> ports installed. 

What do you mean by "no longer supported?"

> I want to run portmaster -a, but when it finds tund
> (and I assume it would also stop for xsysinfo), it stops. 

What do you mean it stops? Are you getting, "Cannot cd to port
directory?" If so, one possible fix is to not fail if the port has an
+IGNOREME file, but rather to issue a non-fatal warning. Would that
work for you? I don't want to skip the port altogether at this point,
since even if you have an +IGNOREME file for the port you may still
want to be advised of new versions, moves, etc.

> I'd rather not just delete their package info --- it is still correct.

The other alternative, as already suggested, is to create a ports
skeleton for those two packages. For this purpose, all you'd need is a
Makefile with:

PKGNAME=	foo-1.2.3

that matches what's in your +CONTENTS file. Adding the mechanism to
ignore these ports (with no skeleton) is probably a good idea for the
long run anyway, so if anyone has an idea besides what I suggested
above, speak up. :)

Doug

-- 

    This .signature sanitized for your protection


More information about the freebsd-hackers mailing list