[Bug 218659] devel/glib20 not fully PREFIX-safe

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Fri Apr 14 16:20:27 UTC 2017


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=218659

John Hein <z7dr6ut7gs at snkmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |z7dr6ut7gs at snkmail.com

--- Comment #1 from John Hein <z7dr6ut7gs at snkmail.com> ---
Created attachment 181786
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=181786&action=edit
[patch] fix for PREFIX != LOCALBASE

I hit this, too.

Just replacing /usr/local in pkg-plist with ${PREFIX} doesn't work because the
ports infrastructure replaces %%PREFIX%% with %D and right now at least, the
pkg tools don't seem to work with %D in the middle of a path name:

pkg-static: Unable to access file
/usr/ports/devel/glib20/work/usr/local/share/gdb/auto-load/%D/lib/libglib-2.0.so.0.5000.2-gdb.py:No
such file or directory

The attached patched uses a different SUB variable so the %D replacement
doesn't happen.  It works for now until the ports infrastructure &/or pkg is
fixed to address the above issue.

-- 
You are receiving this mail because:
You are the assignee for the bug.


More information about the freebsd-gnome mailing list