Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Apr 2017 16:20:26 +0000
From:      bugzilla-noreply@freebsd.org
To:        gnome@FreeBSD.org
Subject:   [Bug 218659] devel/glib20 not fully PREFIX-safe
Message-ID:  <bug-218659-6497-epg2iqdVuc@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-218659-6497@https.bugs.freebsd.org/bugzilla/>
References:  <bug-218659-6497@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D218659

John Hein <z7dr6ut7gs@snkmail.com> changed:

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

--- Comment #1 from John Hein <z7dr6ut7gs@snkmail.com> ---
Created attachment 181786
  --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D181786&action=
=3Dedit
[patch] fix for PREFIX !=3D 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.

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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-218659-6497-epg2iqdVuc>