From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A2F49139694 for ; Thu, 16 Feb 2017 23:45:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id D2AC621C08C; Thu, 16 Feb 2017 23:45:04 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id B230121C08C for ; Thu, 16 Feb 2017 23:45:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C5665340EF6 for ; Thu, 16 Feb 2017 23:45:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 399764A59 for ; Thu, 16 Feb 2017 23:45:02 +0000 (UTC) From: "Mike Frysinger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Frysinger" Message-ID: <1487288687.25fcea2f8aaba4520d635434f76f3a751d5dff6c.vapier@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/pixz/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-arch/pixz/pixz-1.0.6.ebuild app-arch/pixz/pixz-9999.ebuild X-VCS-Directories: app-arch/pixz/ X-VCS-Committer: vapier X-VCS-Committer-Name: Mike Frysinger X-VCS-Revision: 25fcea2f8aaba4520d635434f76f3a751d5dff6c X-VCS-Branch: master Date: Thu, 16 Feb 2017 23:45:02 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Archives-Salt: 54eb19a9-f1cc-454f-a37c-a9ece090a16d X-Archives-Hash: e761ccdacb1071e573e979b4da19c401 commit: 25fcea2f8aaba4520d635434f76f3a751d5dff6c Author: Mike Frysinger gentoo org> AuthorDate: Thu Feb 16 23:09:47 2017 +0000 Commit: Mike Frysinger gentoo org> CommitDate: Thu Feb 16 23:44:47 2017 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=25fcea2f app-arch/pixz: fix cross-compiles app-arch/pixz/pixz-1.0.6.ebuild | 3 +++ app-arch/pixz/pixz-9999.ebuild | 3 +++ 2 files changed, 6 insertions(+) diff --git a/app-arch/pixz/pixz-1.0.6.ebuild b/app-arch/pixz/pixz-1.0.6.ebuild index 63553def55..7e31c748a8 100644 --- a/app-arch/pixz/pixz-1.0.6.ebuild +++ b/app-arch/pixz/pixz-1.0.6.ebuild @@ -36,6 +36,9 @@ src_prepare() { src_configure() { use static && append-ldflags -static append-flags -std=gnu99 + # Workaround silly logic that breaks cross-compiles. + # https://github.com/vasi/pixz/issues/67 + export ac_cv_file_src_pixz_1=$([[ -f src/pixz.1 ]] && echo yes || echo no) econf } diff --git a/app-arch/pixz/pixz-9999.ebuild b/app-arch/pixz/pixz-9999.ebuild index 63553def55..7e31c748a8 100644 --- a/app-arch/pixz/pixz-9999.ebuild +++ b/app-arch/pixz/pixz-9999.ebuild @@ -36,6 +36,9 @@ src_prepare() { src_configure() { use static && append-ldflags -static append-flags -std=gnu99 + # Workaround silly logic that breaks cross-compiles. + # https://github.com/vasi/pixz/issues/67 + export ac_cv_file_src_pixz_1=$([[ -f src/pixz.1 ]] && echo yes || echo no) econf }