Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 23 Mar 1999 11:50:24 -0800 (PST)
From:      dann@greycat.com
To:        freebsd-gnats-submit@freebsd.org
Subject:   ports/10757: bsd.port.mk: Test for OS levei is backwards
Message-ID:  <19990323195024.D5EF71540E@hub.freebsd.org>

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

>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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19990323195024.D5EF71540E>