glib-compile-schemas

Antoine Brodin antoine at freebsd.org
Sat Jan 20 09:24:11 UTC 2018


On Sat, Jan 20, 2018 at 10:09 AM, Kurt Jaeger <lists at opsec.eu> wrote:
> Hi!
>
>> I am building a gnome based port.
>>
>> The port builds and installs successfully but it doesn't work.
>>
>> Looking around I need to run glib-compile-schemas like this:
>>
>> glib-compile-schemas /usr/local/share/glib-2.0/schemas/
>>
>> After running that command the port works as expected, is there a standard
>> way to handle this in the port's Makefile?
>
> devel/glib20 has this in its pkg-plist:
>
> @postexec %D/bin/glib-compile-schemas %D/share/glib-2.0/schemas 2>/dev/null || /usr/bin/true

But it would be wrong to add it to another port,  GLIB_SCHEMAS is
there for this.

Antoine


More information about the freebsd-ports mailing list