bin/114951: pkg_version does not reference PORTSDIR in /etc/make.conf

John Marshall john at ozsrv01.riverwillow.net.au
Fri Jul 27 02:50:07 UTC 2007


>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 at 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:


More information about the freebsd-bugs mailing list