dev-util/mingw64-runtime: switch to --prefix=/usr (from --prefix=/)
authorSergei Trofimovich <slyfox@gentoo.org>
Sat, 24 Mar 2018 21:16:23 +0000 (21:16 +0000)
committerSergei Trofimovich <slyfox@gentoo.org>
Sat, 24 Mar 2018 21:16:43 +0000 (21:16 +0000)
commit060fb03cf25dca1aa7adf2659092a930e88b5dde
tree62f2eb172cefab189181cabe181868c3280506f8
parent3f972d44f17a62b83454129835be769adacee982
dev-util/mingw64-runtime: switch to --prefix=/usr (from --prefix=/)

A couple of changes:
- Allow dev-util/mingw64-runtime[headers-only] for cross-building case.
  One day crossdew won't need cross-${CTARGET}/mingw64-runtime packages
  and will be able to use dev-util/mingw64-runtime directly.
  This change is a step in that direction.
- Awitch to --prefix=/usr (from --prefix=/). This allow cross-building
  dev-util/mingw64-runtime itself and installing libraries into /usr/lib
  (instead of /lib).

Tested as:
- generated working toolchain:
  $ crossdev -t x86_64-w64-mingw32
- cross-built mingw64-runtime successfully:
  $ x86_64-w64-mingw32-emerge -v1 dev-util/mingw64-runtime

Package-Manager: Portage-2.3.24, Repoman-2.3.6
dev-util/mingw64-runtime/mingw64-runtime-5.0.3-r2.ebuild [new file with mode: 0644]