diff options
-rw-r--r-- | app-arch/pixz/pixz-1.0.6.ebuild | 3 | ||||
-rw-r--r-- | app-arch/pixz/pixz-9999.ebuild | 3 |
2 files changed, 6 insertions, 0 deletions
diff --git a/app-arch/pixz/pixz-1.0.6.ebuild b/app-arch/pixz/pixz-1.0.6.ebuild index 63553def5565..7e31c748a8b9 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 63553def5565..7e31c748a8b9 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 } |