From owner-freebsd-ports@freebsd.org Sat Jan 20 09:09:14 2018 Return-Path: Delivered-To: freebsd-ports@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 19E9BEC473B for ; Sat, 20 Jan 2018 09:09:14 +0000 (UTC) (envelope-from lists@opsec.eu) Received: from home.opsec.eu (home.opsec.eu [IPv6:2001:14f8:200::1]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id D4F226FA7D for ; Sat, 20 Jan 2018 09:09:13 +0000 (UTC) (envelope-from lists@opsec.eu) Received: from pi by home.opsec.eu with local (Exim 4.89 (FreeBSD)) (envelope-from ) id 1ecp9E-0006GJ-7Y; Sat, 20 Jan 2018 10:09:12 +0100 Date: Sat, 20 Jan 2018 10:09:12 +0100 From: Kurt Jaeger To: blubee blubeeme Cc: FreeBSD Ports Subject: Re: glib-compile-schemas Message-ID: <20180120090912.GB58156@home.opsec.eu> References: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.25 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 20 Jan 2018 09:09:14 -0000 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 -- pi@opsec.eu +49 171 3101372 2 years to go !