ports/158179: packages do not fully honor -P dir option

Dieter freebsd at sopwith.solgatos.com
Wed Jun 22 22:30:12 UTC 2011


>Number:         158179
>Category:       ports
>Synopsis:       packages do not fully honor -P dir option
>Confidential:   no
>Severity:       serious
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Wed Jun 22 22:30:11 UTC 2011
>Closed-Date:
>Last-Modified:
>Originator:     Dieter
>Release:        8.2
>Organization:
>Environment:
8.2 amd64
>Description:
pkg_add -P prefix installs the package under prefix instead of /usr/local.
But many packages still use /usr/local for some paths.

Example:

pkg_add -P /whatever hal-0.5.14_14.tbz
===> Creating users and/or groups.
Creating group 'haldaemon' with gid '560'.
Creating user 'haldaemon' with uid '560'.
./+INSTALL: /usr/local/bin/polkit-auth: not found
cp: /usr/local/share/hal/dist/hal.conf: No such file or directory

>How-To-Repeat:
See example above.
>Fix:


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



More information about the freebsd-ports-bugs mailing list