From owner-freebsd-ports Tue Mar 23 12: 0:21 1999 Delivered-To: freebsd-ports@freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.ORG [204.216.27.21]) by hub.freebsd.org (Postfix) with ESMTP id 0FEED1533C for ; Tue, 23 Mar 1999 12:00:20 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.9.2/8.9.2) id MAA32440; Tue, 23 Mar 1999 12:00:02 -0800 (PST) (envelope-from gnats@FreeBSD.org) Received: by hub.freebsd.org (Postfix, from userid 32767) id D5EF71540E; Tue, 23 Mar 1999 11:50:24 -0800 (PST) Message-Id: <19990323195024.D5EF71540E@hub.freebsd.org> Date: Tue, 23 Mar 1999 11:50:24 -0800 (PST) From: dann@greycat.com To: freebsd-gnats-submit@freebsd.org X-Send-Pr-Version: www-1.0 Subject: ports/10757: bsd.port.mk: Test for OS levei is backwards Sender: owner-freebsd-ports@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.org >Number: 10757 >Category: ports >Synopsis: bsd.port.mk: Test for OS levei is backwards >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Tue Mar 23 12:00:02 PST 1999 >Closed-Date: >Last-Modified: >Originator: Dann Lunsford >Release: 3.1-Release >Organization: >Environment: FreeBSD trist205.dot.ca.gov 3.1-RELEASE FreeBSD 3.1-RELEASE #0: Mon Mar 22 15:17:04 PST 1999 root@trist205.dot.ca.gov:/usr/src/sys/compile/TRIST205 i386 >Description: 1.307 of bsd.port.mk attempts to ensure that the old behavior of fetch is still maintained. Code follows:.if exists(/usr/bin/fetch) .if ${OSVERSION} < 300000 FETCH_CMD?= /usr/bin/fetch .else FETCH_CMD?= /usr/bin/fetch -A .endif This causes the -A flag to be used on 3.x systems, where it is obsolete. >How-To-Repeat: Just try it on a port that needs to be fetched :-) >Fix: Either reverse the test to >= or move the -A to the line above >Release-Note: >Audit-Trail: >Unformatted: To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message