From owner-freebsd-ports Fri Dec 14 5:16:55 2001 Delivered-To: freebsd-ports@freebsd.org Received: from axl.seasidesoftware.co.za (axl.seasidesoftware.co.za [196.31.7.201]) by hub.freebsd.org (Postfix) with ESMTP id 4925137B419; Fri, 14 Dec 2001 05:16:52 -0800 (PST) Received: from sheldonh (helo=axl.seasidesoftware.co.za) by axl.seasidesoftware.co.za with local-esmtp (Exim 3.33 #1) id 16EsE0-000Myk-00; Fri, 14 Dec 2001 15:18:04 +0200 From: Sheldon Hearn To: Maxim Sobolev Cc: ports@FreeBSD.org Subject: Re: How to skip a port on a newly added userland feature? In-reply-to: Your message of "Fri, 14 Dec 2001 15:12:15 +0200." <3C19FAAF.7B3450F8@FreeBSD.org> Date: Fri, 14 Dec 2001 15:18:04 +0200 Message-ID: <88333.1008335884@axl.seasidesoftware.co.za> Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org 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