Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jul 2007 12:31:13 +1000 (AEST)
From:      John Marshall <john@ozsrv01.riverwillow.net.au>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   bin/114951: pkg_version does not reference PORTSDIR in /etc/make.conf
Message-ID:  <200707270231.l6R2VDF4082221@ozsrv01.riverwillow.net.au>
Resent-Message-ID: <200707270250.l6R2o6bk039439@freefall.freebsd.org>

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

>Number:         114951
>Category:       bin
>Synopsis:       pkg_version does not reference PORTSDIR in /etc/make.conf
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Fri Jul 27 02:50:06 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     John Marshall
>Release:        FreeBSD 6.2-RELEASE-p6 i386
>Organization:
Riverwillow Pty Ltd
>Environment:
System: FreeBSD ozsrv01.riverwillow.net.au 6.2-RELEASE-p6 FreeBSD 6.2-RELEASE-p6 #0: Sat Jul 14 18:51:27 AEST 2007 root@ozsrv01.riverwillow.net.au:/spare/obj/usr/src/sys/OZSRV01 i386

>Description:
	Relocation of the Ports tree is supported. The non-default location
	is defined in PORTSDIR= in /etc/make.conf. pkg_version only looks in 
	the default location unless the PORTSDIR environment variable
	is set, or unless the full path to the index file is specified on
	the command line.
>How-To-Repeat:
	- Move (or rename) the ports tree
	- Edit /etc/make.conf to point PORTSDIR to new name/location.
	- Execute pkg_version (no output)
	- Execute pkg_version /new/path (works fine)
>Fix:

	


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



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