From owner-freebsd-ports Fri Dec 14 5:38: 0 2001 Delivered-To: freebsd-ports@freebsd.org Received: from alcatraz.iptelecom.net.ua (alcatraz.iptelecom.net.ua [212.9.224.15]) by hub.freebsd.org (Postfix) with ESMTP id A3CA837B41D for ; Fri, 14 Dec 2001 05:37:52 -0800 (PST) Received: from ipcard.iptcom.net (ipcard.iptcom.net [212.9.224.5]) by alcatraz.iptelecom.net.ua (8.9.3/8.9.3) with ESMTP id PAA88021; Fri, 14 Dec 2001 15:37:43 +0200 (EET) (envelope-from sobomax@FreeBSD.org) Received: from vega.vega.com (root@h71.229.dialup.iptcom.net [212.9.229.71]) by ipcard.iptcom.net (8.9.3/8.9.3) with ESMTP id PAA32704; Fri, 14 Dec 2001 15:37:41 +0200 (EET) (envelope-from sobomax@FreeBSD.org) Received: from FreeBSD.org (big_brother.vega.com [192.168.1.1]) by vega.vega.com (8.11.6/8.11.3) with ESMTP id fBEDbdF33233; Fri, 14 Dec 2001 15:37:39 +0200 (EET) (envelope-from sobomax@FreeBSD.org) Message-ID: <3C1A015B.2FAE2053@FreeBSD.org> Date: Fri, 14 Dec 2001 15:40:43 +0200 From: Maxim Sobolev Organization: Vega International Capital X-Mailer: Mozilla 4.79 [en] (Windows NT 5.0; U) X-Accept-Language: en,uk,ru MIME-Version: 1.0 To: Sheldon Hearn Cc: ports@FreeBSD.org Subject: Re: How to skip a port on a newly added userland feature? References: <88333.1008335884@axl.seasidesoftware.co.za> Content-Type: text/plain; charset=koi8-r Content-Transfer-Encoding: 7bit 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 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