From owner-freebsd-bugs@FreeBSD.ORG Fri Jul 27 02:50:07 2007 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 65DA116A420 for ; Fri, 27 Jul 2007 02:50:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (freefall.freebsd.org [IPv6:2001:4f8:fff6::28]) by mx1.freebsd.org (Postfix) with ESMTP id 2C30613C45A for ; Fri, 27 Jul 2007 02:50:07 +0000 (UTC) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.14.1/8.14.1) with ESMTP id l6R2o65R039443 for ; Fri, 27 Jul 2007 02:50:06 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.14.1/8.14.1/Submit) id l6R2o6bk039439; Fri, 27 Jul 2007 02:50:06 GMT (envelope-from gnats) Resent-Date: Fri, 27 Jul 2007 02:50:06 GMT Resent-Message-Id: <200707270250.l6R2o6bk039439@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, John Marshall Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 7923016A418 for ; Fri, 27 Jul 2007 02:46:19 +0000 (UTC) (envelope-from john@ozsrv01.riverwillow.net.au) Received: from mail4.riverwillow.net.au (mail4.riverwillow.net.au [202.125.44.138]) by mx1.freebsd.org (Postfix) with ESMTP id 15F2113C46C for ; Fri, 27 Jul 2007 02:46:18 +0000 (UTC) (envelope-from john@ozsrv01.riverwillow.net.au) Received: from ozsrv01.riverwillow.net.au (localhost [127.0.0.1]) by mail4.riverwillow.net.au (8.14.1/8.14.1) with ESMTP id l6R2VD9U082222 for ; Fri, 27 Jul 2007 12:31:14 +1000 (AEST) Received: (from john@localhost) by ozsrv01.riverwillow.net.au (8.14.1/8.14.1/Submit) id l6R2VDF4082221; Fri, 27 Jul 2007 12:31:13 +1000 (AEST) Message-Id: <200707270231.l6R2VDF4082221@ozsrv01.riverwillow.net.au> Date: Fri, 27 Jul 2007 12:31:13 +1000 (AEST) From: John Marshall To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Cc: Subject: bin/114951: pkg_version does not reference PORTSDIR in /etc/make.conf X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John Marshall List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 27 Jul 2007 02:50:07 -0000 >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: