pkgsrc-Bugs archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

pkg/50376: /usr/pkg/bin hardcoded in several patches



>Number:         50376
>Category:       pkg
>Synopsis:       /usr/pkg/bin hardcoded in several patches
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    pkg-manager
>State:          open
>Class:          sw-bug
>Submitter-Id:   net
>Arrival-Date:   Wed Oct 28 19:55:00 +0000 2015
>Originator:     Stefan Schaeckeler
>Release:        NetBSD-7.0 pkgsrc-201503
>Organization:
>Environment:
NetBSD t60p 7.0 NetBSD 7.0 (GENERIC) #0: Sat Sep 26 20:21:41 PDT 2015  root@t60p:/usr/obj/sys/arch/i386/compile/GENERIC i386
>Description:
My packages reside not under /usr/pkg/ but /usr/local/. Unfortunately, several patches hardcode paths to /usr/pkg making the builds fail

I was running into this particular problem with sysutils/strace (patch-av /usr/pkg/bin/perl -w).


There are probably many more such issues:

:/usr/pkgsrc# find . -name patch* -exec grep "/usr/pkg/bin" \{} /dev/null \; | wc
      24     105    2376

:/usr/pkgsrc# find . -name patch* -exec grep "/usr/pkg/sbin" \{} /dev/null \; | wc
       8      27     799

>How-To-Repeat:

>Fix:



Home | Main Index | Thread Index | Old Index