Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 23 Apr 2000 02:07:44 +0100 (BST)
From:      Mark Ovens <mark@ukug.uk.freebsd.org>
To:        FreeBSD-gnats-submit@freebsd.org
Subject:   bin/18176: [PATCH] Fix for bug in -c option of pkg_version
Message-ID:  <200004230107.CAA21275@parish.my.domain>

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

>Number:         18176
>Category:       bin
>Synopsis:       [PATCH] Fix for bug in -c option of pkg_version
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sun Apr 23 07:30:01 PDT 2000
>Closed-Date:
>Last-Modified:
>Originator:     Mark Ovens
>Release:        FreeBSD 4.0-STABLE i386
>Organization:
>Environment:

	
FreeBSD parish 4.0-STABLE FreeBSD 4.0-STABLE #1: Sat Mar 18 18:53:40 GMT 2000     mark@parish:/usr/src/sys/compile/PARISH  i386

>Description:

	When using the -c option to pkg_version if a package is
	"unknown in the index" it generates commands to build the
	wrong port, e.g.:

		#
		#  mozilla-fonts
		#  unknown in index
		#
		cd /usr/ports/lang/modula-3-lib
		make && pkg_delete -f mozilla-fonts-1.0
		make install



>How-To-Repeat:

	pkg_version -c

>Fix:


*** pkg_version.orig	Fri Apr  7 03:27:17 2000
--- pkg_version	Fri Apr  7 03:28:23 2000
***************
*** 259,264 ****
--- 259,265 ----
  	}
      }
      else {
+ 	next if $ShowCommandsFlag;
  	$versionCode = "?";
  	$Comment = "unknown in index";
      }


>Release-Note:
>Audit-Trail:
>Unformatted:


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-bugs" in the body of the message




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