maintainer-feedback requested: [Bug 257493] games/gnome-mahjongg: 'stage' tries to install directly to LOCALBASE

From: <bugzilla-noreply_at_freebsd.org>
Date: Thu, 29 Jul 2021 20:50:00 UTC
Bugzilla Automation <bugzilla@FreeBSD.org> has asked freebsd-gnome (Nobody)
<gnome@FreeBSD.org> for maintainer-feedback:
Bug 257493: games/gnome-mahjongg: 'stage' tries to install directly to
LOCALBASE
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=257493



--- Description ---
'make -C /usr/ports/games/gnome-mahjongg stage' fails when run as a user that
does not have write permission in LOCALBASE.  It tries to install a file
directly to LOCALBASE instead of the 'work/stage' dir.

This worked fine in Nov 2020 when this port was updated to 3.38.2, but now
fails - probably(?) due to changes in meson.

===>  Staging for gnome-mahjongg-3.38.3
===>   Generating temporary packing list
 .
 .
Running custom install script '/usr/local/bin/meson --internal gettext install
--subdir=po --localedir=share/locale --pkgname=gnome-mahjongg'
Running custom install script '/usr/local/bin/glib-compile-schemas
/usr/local/share/glib-2.0/schemas'
--- stdout ---

--- stderr ---
Failed to create file
“/usr/local/share/glib-2.0/schemas/gschemas.compiled.43UL70”: Permission denied

FAILED: install script '/usr/local/bin/glib-compile-schemas
/usr/local/share/glib-2.0/schemas' exit code 1, stopped
FAILED: meson-install 
/usr/local/bin/meson install --no-rebuild
ninja: build stopped: subcommand failed.
*** Error code 1