bin/170456: 'pkg_add -K' uses PKGDIR environment variable that conflicts with ports(7) building

Kimmo Paasiala kpaasial at gmail.com
Tue Aug 7 15:50:04 UTC 2012


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


More information about the freebsd-bugs mailing list