From owner-freebsd-gnome@freebsd.org Mon Nov 23 16:53:44 2015 Return-Path: Delivered-To: freebsd-gnome@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 0794BA320D7 for ; Mon, 23 Nov 2015 16:53:44 +0000 (UTC) (envelope-from jbeich@vfemail.net) Received: from vfemail.net (fiveseven.neocoil.com [12.31.100.157]) (using TLSv1 with cipher ECDHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 9CBF41BA0 for ; Mon, 23 Nov 2015 16:53:42 +0000 (UTC) (envelope-from jbeich@vfemail.net) Received: (qmail 25656 invoked by uid 89); 23 Nov 2015 16:53:33 -0000 Received: from localhost (HELO freequeue.vfemail.net) (127.0.0.1) by localhost with (DHE-RSA-AES256-SHA encrypted) SMTP; 23 Nov 2015 16:53:33 -0000 Received: (qmail 25607 invoked by uid 89); 23 Nov 2015 16:53:15 -0000 Received: by simscan 1.3.1 ppid: 25600, pid: 25602, t: 0.0036s scanners:none Received: from unknown (HELO smtp102-2.vfemail.net) (172.16.100.62) by FreeQueue with SMTP; 23 Nov 2015 16:53:15 -0000 Received: (qmail 18118 invoked by uid 89); 23 Nov 2015 16:53:23 -0000 Received: by simscan 1.4.0 ppid: 18097, pid: 18111, t: 1.0707s scanners:none Received: from unknown (HELO nil) (amJlaWNoQHZmZW1haWwubmV0@172.16.100.27) by mail.vfemail.net with ESMTPA; 23 Nov 2015 16:53:22 -0000 From: Jan Beich To: "John Hein" Cc: freebsd-gnome@freebsd.org, mi+thun@aldan.algebra.com Subject: Re: Non-prefix safe ports In-Reply-To: <21450-1448271401-856348@sneakemail.com> (John Hein's message of "Mon, 23 Nov 2015 02:36:41 -0700") References: <563A5861.6020706__9360.56868308715$1446667952$gmane$org@aldan.algebra.com> <4mge-yjhj-wny@vfemail.net> <21450-1448271401-856348@sneakemail.com> Date: Mon, 23 Nov 2015 17:53:08 +0100 Message-ID: <37vw-k68b-wny@vfemail.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Nov 2015 16:53:44 -0000 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable "John Hein" writes: > Jan Beich wrote at 01:18 +0100 on Nov 22, 2015: > > > "Mikhail T." writes: > >=20 > > > Building out a new machine from scratch using /opt (rather than the > > > usual /usr/local) as LOCALBASE, I found the following two ports, whi= ch > > > break: > >=20 > > poudriere testport -P would have been easier. That said it would be ni= ce > > to have them as periodic exp-runs. I'm sure there're way more ports > > with broken PREFIX !=3D LOCALBASE e.g., anything lua-*. > >=20 > > > > > > * multimedia/openh264 - the files built by the port get installed = into > > > stage/usr/local/... instead of stage/opt -- I had to manually mo= ve > > > the files around before "make install" succeeded > >=20 > > This affects all ports with USES=3Dwebplugin. Fixing isn't trivial, so > > better file a bug or it will be forgotten. > >=20 > > > * graphics/gtk-update-icon-cache - at configure-stage, the port > > > wrongly complaints, that the cairo installed on the system does = not > > > support X11. After I created a symlink: /usr/local -> ../opt, the > > > problem went away. > >=20 > > make(1) flow control is evaluated at parsing time. Try using sh(1) > > conditional to postpone it until the target is run. > > I've had this patch in my ports tree forever - one of those patches > for which I just never got around to the last step: actually > submitting a bug. Instead of hard-coding a path, it uses the > pkg-config tool to detect. But it postpones the detection until > the target just as Jan did. The issue is actually a regression unrelated to PREFIX !=3D LOCALBASE. I've submitted your version (slightly improved) on Phabricator and added a comme= nt to avoid repeating it again. https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D166279 https://reviews.freebsd.org/D4260 =2D- X11 check indicates a deficiency in the framework. There's currently no standard way to require some options enabled in dependencies. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQF8BAEBCgBmBQJWU0R0XxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXREQjQ0MzY3NEM3RDIzNTc4NkUxNDkyQ0VF NEM3Nzg4MzQ3OURCRERCAAoJEOTHeINHnb3bPEsIANX2npuGDUqvhrIqzpYs8YZK KURLscD3Kgfn3AVyz1e4GcCvNnoOVCUcz2YFLxmJl45MVGGVcyTLxYcOjGiWXpg4 dg+FtgSa7QI2W9gD91Rg0EAwGpiy7ftMcNB0i/Wnd5bPDLlDlNIiqMuxRMbsvdrY 1HrsnPkN+IsISpCCHFHOdTOFUfUmhk4+Fimt6NvpmhOtamNzh5acmodJ4Zy45Ana VW1WrNxroD05ibxO0hH+B7XXXGq4WxOSraXSLkZJ/cHmVH9SGaTvTBO22eCMDxYU 7BDMYPR+j2tgPR5+N2itR+DSjYDUzSN51pqgCHKFy6lI+FVoz2Mrje0wUKQ0bEk= =ljlc -----END PGP SIGNATURE----- --=-=-=--