projects
/
gentoo.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1b45977
)
sys-libs/zlib: fix mingw-w64 build.
author
Marty Plummer
<ntzrmtthihu777@gmail.com>
Thu, 18 May 2017 00:34:33 +0000
(19:34 -0500)
committer
Patrice Clement
<monsieurp@gentoo.org>
Tue, 23 May 2017 14:29:46 +0000
(16:29 +0200)
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
sys-libs/zlib/zlib-1.2.11.ebuild
patch
|
blob
|
history
diff --git
a/sys-libs/zlib/zlib-1.2.11.ebuild
b/sys-libs/zlib/zlib-1.2.11.ebuild
index f7df57e95c5d0d9d0cea012e3d07e6bc7b11e06e..b587d42dae18150558b9ae7641f6f0398cd11910 100644
(file)
--- 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 "$@"; "$@"; }