Date: Mon, 30 Dec 2013 12:51:09 +0100 From: Mathieu Arnold <mat@FreeBSD.org> To: Tijl Coosemans <tijl@FreeBSD.org>, Mathieu Arnold <mat@FreeBSD.org> Cc: freebsd-ports <freebsd-ports@freebsd.org>, CeDeROM <cederom@tlen.pl> Subject: Re: FreeBSD 10.0-RC3 AMD64 pdftk and gcc 4.6.4 dependency problem Message-ID: <27308C85569777FC7D9F5E55@ogg.in.absolight.net> In-Reply-To: <20131230123738.2f7f7e5a@kalimero.tijl.coosemans.org> References: <CAFYkXjnA1Bz88oqObkK=z51bV43y5RuKu_11upwCyi-kG=KHuQ@mail.gmail.com> <20131230093126.721e0f3c@kalimero.tijl.coosemans.org> <9B3DD139820AA2A7ADD4C283@ogg.in.absolight.net> <20131230123738.2f7f7e5a@kalimero.tijl.coosemans.org>
next in thread | previous in thread | raw e-mail | index | archive | help
+--On 30 d=C3=A9cembre 2013 12:37:38 +0100 Tijl Coosemans = <tijl@FreeBSD.org> wrote: | On Mon, 30 Dec 2013 12:13:27 +0100 Mathieu Arnold wrote: |> +--On 30 d=C3=A9cembre 2013 09:31:26 +0100 Tijl Coosemans = <tijl@FreeBSD.org> |> wrote: |> | The problem is that the pdftk port depends on lang/gcc46 instead of |> | lang/gcc. Maintainer CCed. |>=20 |> Yeah, I know, it's a mess. |>=20 |> You could, hum, maybe, solve it by doing : |>=20 |> pkg set -o lang/gcc:lang/gcc46 |> pkg install pdftk |> pkg set -o lang/gcc46:lang/gcc |>=20 |> I'm looking at fixing this, but it's not that simple :-) |=20 | I've seen some port do something like this: |=20 | .if ! exists(/path/to/file) | IGNORE=3D Port cat/port needs to be installed with OPTION option enabled | .endif |=20 | I don't remember which port it was, but something like this can be | used here as well. You can then remove LIB_DEPENDS and BUILD_DEPENDS. |=20 | .include <bsd.port.pre.mk> | .if ! exists(${LOCALBASE}/bin/gcj${CSUFF}) | IGNORE=3D GCC needs to be installed with JAVA option enabled | .endif Yes, yes, I'm open to suggestions, I'll try that :-) --=20 Mathieu Arnold
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?27308C85569777FC7D9F5E55>