diff options
Diffstat (limited to 'sys-libs/zlib/zlib-1.2.11.ebuild')
-rw-r--r-- | sys-libs/zlib/zlib-1.2.11.ebuild | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/sys-libs/zlib/zlib-1.2.11.ebuild b/sys-libs/zlib/zlib-1.2.11.ebuild index b587d42dae18..83ff762d7ecb 100644 --- a/sys-libs/zlib/zlib-1.2.11.ebuild +++ b/sys-libs/zlib/zlib-1.2.11.ebuild @@ -69,7 +69,7 @@ multilib_src_compile() { *-mingw*|mingw*) emake -f win32/Makefile.gcc STRIP=true PREFIX=${CHOST}- sed \ - -e 's|@prefix@|${EPREFIX}/usr|g' \ + -e 's|@prefix@|/usr|g' \ -e 's|@exec_prefix@|${prefix}|g' \ -e 's|@libdir@|${exec_prefix}/'$(get_libdir)'|g' \ -e 's|@sharedlibdir@|${exec_prefix}/'$(get_libdir)'|g' \ @@ -98,7 +98,8 @@ multilib_src_install() { LIBRARY_PATH="${ED}/usr/$(get_libdir)" \ INCLUDE_PATH="${ED}/usr/include" \ SHARED_MODE=1 - insinto /usr/share/pkgconfig + # overwrites zlib.pc created from win32/Makefile.gcc #620136 + insinto /usr/$(get_libdir)/pkgconfig doins zlib.pc ;; |