Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 23 Nov 2015 17:53:08 +0100
From:      Jan Beich <jbeich@vfemail.net>
To:        "John Hein" <jh-fbml@snkmail.com>
Cc:        freebsd-gnome@freebsd.org, mi+thun@aldan.algebra.com
Subject:   Re: Non-prefix safe ports
Message-ID:  <37vw-k68b-wny@vfemail.net>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
--=-=-=
Content-Type: text/plain
Content-Transfer-Encoding: quoted-printable

"John Hein" <jh-fbml@snkmail.com> writes:

> Jan Beich wrote at 01:18 +0100 on Nov 22, 2015:
>
>  > "Mikhail T." <mi+thun@aldan.algebra.com> 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-----
--=-=-=--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?37vw-k68b-wny>