Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Dec 2001 15:40:43 +0200
From:      Maxim Sobolev <sobomax@FreeBSD.org>
To:        Sheldon Hearn <sheldonh@starjuice.net>
Cc:        ports@FreeBSD.org
Subject:   Re: How to skip a port on a newly added userland feature?
Message-ID:  <3C1A015B.2FAE2053@FreeBSD.org>
References:  <88333.1008335884@axl.seasidesoftware.co.za>

next in thread | previous in thread | raw e-mail | index | archive | help
Sheldon Hearn wrote:
> 
> On Fri, 14 Dec 2001 15:12:15 +0200, Maxim Sobolev wrote:
> 
> > Much simpler. In this particular case, ".if exists(/usr/bin/foo)"
> > make(1) directive would do the trick.
> 
> The problem with that approach (which works fine for bzip2) is that
> mount_smbfs is installed into /sbin by the net/smbfs port, so upgrading
> with FORCE_PKG_REGISTER won't work on older systems.

Ah, I see.

> Is the approach you give preferred over what I've done to
> net/smbfs/Makefile using OSRELDATE, or is what I've done okay?
> 
> .if ${OSVERSION} > 500027
> BROKEN=         "OS versions subsequent to 500027 include smbfs"
> .endif

No, it much a personal preference, actually. BTW, IGNORE is more
appropriate in such cases than BORKEN - I've just committed a fix.

-Maxim

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-ports" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3C1A015B.2FAE2053>