From owner-freebsd-gecko@freebsd.org Sun Nov 22 22:19:35 2015 Return-Path: Delivered-To: freebsd-gecko@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 73074A34B0C for ; Sun, 22 Nov 2015 22:19:35 +0000 (UTC) (envelope-from jbeich@vfemail.net) Received: from mailman.ysv.freebsd.org (mailman.ysv.freebsd.org [IPv6:2001:1900:2254:206a::50:5]) by mx1.freebsd.org (Postfix) with ESMTP id 584671C11 for ; Sun, 22 Nov 2015 22:19:35 +0000 (UTC) (envelope-from jbeich@vfemail.net) Received: by mailman.ysv.freebsd.org (Postfix) id 55480A34B0B; Sun, 22 Nov 2015 22:19:35 +0000 (UTC) Delivered-To: gecko@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 3C64AA34B09 for ; Sun, 22 Nov 2015 22:19:35 +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 C9B551C0E for ; Sun, 22 Nov 2015 22:19:34 +0000 (UTC) (envelope-from jbeich@vfemail.net) Received: (qmail 38734 invoked by uid 89); 22 Nov 2015 22:19:19 -0000 Received: from localhost (HELO freequeue.vfemail.net) (127.0.0.1) by localhost with (DHE-RSA-AES256-SHA encrypted) SMTP; 22 Nov 2015 22:19:16 -0000 Received: (qmail 812 invoked by uid 89); 22 Nov 2015 00:18:30 -0000 Received: by simscan 1.3.1 ppid: 806, pid: 809, t: 0.0031s scanners:none Received: from unknown (HELO smtp102-2.vfemail.net) (172.16.100.62) by FreeQueue with SMTP; 22 Nov 2015 00:18:30 -0000 Received: (qmail 18446 invoked by uid 89); 22 Nov 2015 00:18:38 -0000 Received: by simscan 1.4.0 ppid: 18435, pid: 18442, t: 0.5921s scanners:none Received: from unknown (HELO nil) (amJlaWNoQHZmZW1haWwubmV0@172.16.100.27) by mail.vfemail.net with ESMTPA; 22 Nov 2015 00:18:37 -0000 From: Jan Beich To: "Mikhail T." Cc: gnome@freebsd.org, gecko@freebsd.org Subject: Re: Non-prefix safe ports References: <563A5861.6020706__9360.56868308715$1446667952$gmane$org@aldan.algebra.com> Date: Sun, 22 Nov 2015 01:18:32 +0100 Message-ID: <4mge-yjhj-wny@vfemail.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha512; protocol="application/pgp-signature" X-BeenThere: freebsd-gecko@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Gecko Rendering Engine issues List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 22 Nov 2015 22:19:35 -0000 --=-=-= Content-Type: text/plain Content-Transfer-Encoding: quoted-printable "Mikhail T." writes: > Building out a new machine from scratch using /opt (rather than the > usual /usr/local) as LOCALBASE, I found the following two ports, which > break: poudriere testport -P would have been easier. That said it would be nice to have them as periodic exp-runs. I'm sure there're way more ports with broken PREFIX !=3D LOCALBASE e.g., anything lua-*. > > * multimedia/openh264 - the files built by the port get installed into > stage/usr/local/... instead of stage/opt -- I had to manually move > the files around before "make install" succeeded This affects all ports with USES=3Dwebplugin. Fixing isn't trivial, so better file a bug or it will be forgotten. > * 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. make(1) flow control is evaluated at parsing time. Try using sh(1) conditional to postpone it until the target is run. Index: graphics/gtk-update-icon-cache/Makefile =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D =2D-- graphics/gtk-update-icon-cache/Makefile (revision 402206) +++ graphics/gtk-update-icon-cache/Makefile (working copy) @@ -36,17 +36,15 @@ ALL_TARGET=3D ${PORTNAME} PLIST_FILES=3D bin/gtk-update-icon-cache # man/man1/gtk-update-icon-cache.1.gz =20 =2D.include =2D post-patch: @${REINPLACE_CMD} -e 's|-DGDK_PIXBUF_DISABLE_DEPRECATED||g' \ ${WRKSRC}/configure =20 pre-configure: =2D.if !exists(${LOCALBASE}/libdata/pkgconfig/cairo-xlib.pc) =2D @${ECHO_CMD} "${PKGNAME}: Needs cairo with X11 support enabled." =2D @${FALSE} =2D.endif + @if [ ! -e ${LOCALBASE}/libdata/pkgconfig/cairo-xlib.pc ]; then \ + ${ECHO_CMD} "${PKGNAME}: Needs cairo with X11 support enabled."; \ + exit 1; \ + fi =20 do-install: @${INSTALL_PROGRAM} ${WRKSRC}/gtk/gtk-update-icon-cache \ @@ -54,4 +52,4 @@ do-install: # @${INSTALL_MAN} ${WRKSRC}/docs/reference/gtk/gtk-update-icon-cache.1 \ # ${STAGEDIR}${PREFIX}/man/man1/ =20 =2D.include +.include --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQF8BAEBCgBmBQJWUQnYXxSAAAAAAC4AKGlzc3Vlci1mcHJAbm90YXRpb25zLm9w ZW5wZ3AuZmlmdGhob3JzZW1hbi5uZXREQjQ0MzY3NEM3RDIzNTc4NkUxNDkyQ0VF NEM3Nzg4MzQ3OURCRERCAAoJEOTHeINHnb3bbjwIALsR8STrUFCxDsRmBFmuWhMc QQciz9/6F4AxeG196dlK6KMvjzcjGJ/MDxKjfYBPVvSUX3LZ3m7UxZe7xhX0Z3Dk 5dUuzQneZUkLXkqzsNV5hPobpa6gTMllqbTe/QNkC79osfJLwX0C9tB8pHdpRrxM Spnsk3Lr3j100XYpoE67Rb+TlFHxBpQ8tuX1cEYkb/yQxVKnlq3kOIaTxIf/btzN yAI6dpa7fVTDefUM0q2NllLnqUb4TvPgVrsR9aGG8Hk4DUgeE1EQLl8nO/q0o5nw byUoRLdq2K8gpUF4CA+vBkKtoTvRMgr5vN/3uDHScXYoxIXKIlMrp/xjDipzE8o= =BaZ6 -----END PGP SIGNATURE----- --=-=-=--