From owner-freebsd-ports@FreeBSD.ORG Mon Dec 30 11:51:12 2013 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 49C195C4; Mon, 30 Dec 2013 11:51:12 +0000 (UTC) Received: from prod2.absolight.net (mx3.absolight.net [IPv6:2a01:678:2:100::25]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 04C6015B0; Mon, 30 Dec 2013 11:51:12 +0000 (UTC) Received: from prod2.absolight.net (localhost [127.0.0.1]) by prod2.absolight.net (Postfix) with ESMTP id 9A5EFBDC3E; Mon, 30 Dec 2013 12:51:10 +0100 (CET) Received: from gw.in.absolight.net (gw-ecl.in.absolight.net [79.143.241.69]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "gw.in.absolight.net", Issuer "CA Cert Signing Authority" (not verified)) by prod2.absolight.net (Postfix) with ESMTPSA id 880B6BDC2E; Mon, 30 Dec 2013 12:51:10 +0100 (CET) Received: from ogg.in.absolight.net (ogg.in.absolight.net [79.143.241.239]) by gw.in.absolight.net (Postfix) with ESMTP id E1D456113; Mon, 30 Dec 2013 12:51:09 +0100 (CET) Received: from localhost (localhost [127.0.0.1]) by ogg.in.absolight.net (Postfix) with ESMTP id 856936713901; Mon, 30 Dec 2013 12:51:09 +0100 (CET) Date: Mon, 30 Dec 2013 12:51:09 +0100 From: Mathieu Arnold To: Tijl Coosemans , Mathieu Arnold 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: <20131230093126.721e0f3c@kalimero.tijl.coosemans.org> <9B3DD139820AA2A7ADD4C283@ogg.in.absolight.net> <20131230123738.2f7f7e5a@kalimero.tijl.coosemans.org> X-Mailer: Mulberry/4.0.8 (Mac OS X) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Cc: freebsd-ports , CeDeROM X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 30 Dec 2013 11:51:12 -0000 +--On 30 d=C3=A9cembre 2013 12:37:38 +0100 Tijl Coosemans = 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 = |> 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 | .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