Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Aug 2012 15:44:03 GMT
From:      Kimmo Paasiala <kpaasial@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   bin/170456: 'pkg_add -K' uses PKGDIR environment variable that conflicts with ports(7) building
Message-ID:  <201208071544.q77Fi33f047474@red.freebsd.org>
Resent-Message-ID: <201208071550.q77Fo3kx081984@freefall.freebsd.org>

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


>Number:         170456
>Category:       bin
>Synopsis:       'pkg_add -K' uses PKGDIR environment variable that conflicts with ports(7) building
>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:   Tue Aug 07 15:50:03 UTC 2012
>Closed-Date:
>Last-Modified:
>Originator:     Kimmo Paasiala
>Release:        9-STABLE
>Organization:
>Environment:
FreeBSD fileserver.joesgarage 9.1-PRERELEASE FreeBSD 9.1-PRERELEASE #0: Sat Aug  4 13:47:31 EEST 2012     kimmo@fileserver.houseofevil:/usr/obj/usr/src/sys/FILESERVER  i386
>Description:
pkg_add(1) uses the PKGDIR environment variable to direct the saved packages to a directory. However the variable conflicts with the PKGDIR variable used in ports(7) building.
>How-To-Repeat:
Set PKGDIR variable in enviroment, /etc/make.conf or on make command line to a directory for use with 'pkg_add -K' and try to build any port.
>Fix:
Possibly change 'pkg_add -K' to use the PACKAGES variable.

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



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