Date: Mon, 30 Dec 2013 12:37:38 +0100 From: Tijl Coosemans <tijl@FreeBSD.org> To: 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: <20131230123738.2f7f7e5a@kalimero.tijl.coosemans.org> In-Reply-To: <9B3DD139820AA2A7ADD4C283@ogg.in.absolight.net> References: <CAFYkXjnA1Bz88oqObkK=z51bV43y5RuKu_11upwCyi-kG=KHuQ@mail.gmail.com> <20131230093126.721e0f3c@kalimero.tijl.coosemans.org> <9B3DD139820AA2A7ADD4C283@ogg.in.absolight.net>
next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 30 Dec 2013 12:13:27 +0100 Mathieu Arnold wrote: > +--On 30 d=E9cembre 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 :-) I've seen some port do something like this: .if ! exists(/path/to/file) IGNORE=3D Port cat/port needs to be installed with OPTION option enabled .endif 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. .include <bsd.port.pre.mk> .if ! exists(${LOCALBASE}/bin/gcj${CSUFF}) IGNORE=3D GCC needs to be installed with JAVA option enabled .endif
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20131230123738.2f7f7e5a>