summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMarty Plummer <ntzrmtthihu777@gmail.com>2017-05-17 19:34:33 -0500
committerPatrice Clement <monsieurp@gentoo.org>2017-05-23 16:29:46 +0200
commit30409522f810c01005ea348d732cc090d11da42a (patch)
tree95c031cc2913601705ff0e959e0f5713d1b97eca /sys-libs
parentnet-vpn/i2p: remove ecdsa flag in 0.9.30, since DSA is being replaced. (diff)
downloadgentoo-30409522f810c01005ea348d732cc090d11da42a.tar.gz
gentoo-30409522f810c01005ea348d732cc090d11da42a.tar.bz2
gentoo-30409522f810c01005ea348d732cc090d11da42a.zip
sys-libs/zlib: fix mingw-w64 build.
Gentoo-Bug: https://bugs.gentoo.org/605484 Package-Manager: Portage-2.3.5, Repoman-2.3.2 Closes: https://github.com/gentoo/gentoo/pull/4662
Diffstat (limited to 'sys-libs')
-rw-r--r--sys-libs/zlib/zlib-1.2.11.ebuild7
1 files changed, 7 insertions, 0 deletions
diff --git a/sys-libs/zlib/zlib-1.2.11.ebuild b/sys-libs/zlib/zlib-1.2.11.ebuild
index f7df57e95c5..b587d42dae1 100644
--- a/sys-libs/zlib/zlib-1.2.11.ebuild
+++ b/sys-libs/zlib/zlib-1.2.11.ebuild
@@ -29,6 +29,13 @@ src_prepare() {
cd contrib/minizip || die
eautoreconf
fi
+
+ case ${CHOST} in
+ *-mingw*|mingw*)
+ # uses preconfigured Makefile rather than configure script
+ multilib_copy_sources
+ ;;
+ esac
}
echoit() { echo "$@"; "$@"; }