Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Dec 2001 15:18:04 +0200
From:      Sheldon Hearn <sheldonh@starjuice.net>
To:        Maxim Sobolev <sobomax@FreeBSD.org>
Cc:        ports@FreeBSD.org
Subject:   Re: How to skip a port on a newly added userland feature? 
Message-ID:  <88333.1008335884@axl.seasidesoftware.co.za>
In-Reply-To: Your message of "Fri, 14 Dec 2001 15:12:15 %2B0200." <3C19FAAF.7B3450F8@FreeBSD.org> 

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


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.

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

Ciao,
Sheldon.

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?88333.1008335884>