diff options
author | V3n3RiX <venerix@koprulu.sector> | 2022-11-24 01:09:44 +0000 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2022-11-24 01:09:44 +0000 |
commit | e33383d972aad8129fd4c1ee2b87f529f6efa8e9 (patch) | |
tree | 6a41fd6c2b9a997737264687637da3a9eee3d9d6 /app-emulation/wine-vanilla/wine-vanilla-7.21.ebuild | |
parent | 89aeb05c8da1b0c32fb9d0cd5d202763780d5d5a (diff) |
gentoo auto-resync : 24:11:2022 - 01:09:44
Diffstat (limited to 'app-emulation/wine-vanilla/wine-vanilla-7.21.ebuild')
-rw-r--r-- | app-emulation/wine-vanilla/wine-vanilla-7.21.ebuild | 25 |
1 files changed, 10 insertions, 15 deletions
diff --git a/app-emulation/wine-vanilla/wine-vanilla-7.21.ebuild b/app-emulation/wine-vanilla/wine-vanilla-7.21.ebuild index 71f603995e8a..d931d7219d8d 100644 --- a/app-emulation/wine-vanilla/wine-vanilla-7.21.ebuild +++ b/app-emulation/wine-vanilla/wine-vanilla-7.21.ebuild @@ -113,6 +113,7 @@ DEPEND=" X? ( x11-base/xorg-proto )" BDEPEND=" dev-lang/perl + sys-devel/binutils sys-devel/bison sys-devel/flex virtual/pkgconfig @@ -120,7 +121,7 @@ BDEPEND=" >=dev-util/mingw64-toolchain-10.0.0_p1-r2[${MULTILIB_USEDEP}] ) ) nls? ( sys-devel/gettext )" -IDEPEND="app-eselect/eselect-wine" +IDEPEND=">=app-eselect/eselect-wine-2" QA_TEXTRELS="usr/lib/*/wine/i386-unix/*.so" # uses -fno-PIC -Wl,-z,notext @@ -220,6 +221,11 @@ src_configure() { use custom-cflags || strip-flags # can break in obscure ways, also no lto use crossdev-mingw || PATH=${BROOT}/usr/lib/mingw64-toolchain/bin:${PATH} + # temporary workaround for tc-ld-force-bfd not yet enforcing with mold + # https://github.com/gentoo/gentoo/pull/28355 + [[ $($(tc-getCC) ${LDFLAGS} -Wl,--version 2>/dev/null) == mold* ]] && + append-ldflags -fuse-ld=bfd + # build using upstream's way (--with-wine64) # order matters: configure+compile 64->32, install 32->64 local -i bits @@ -310,21 +316,10 @@ src_install() { dodoc ANNOUNCE AUTHORS README* documentation/README* } -wine-eselect() { - ebegin "${1^}ing ${P} using eselect-wine" - eselect wine ${1} ${P} && - eselect wine ${1} --${PN#wine-} ${P} && - eselect wine update --if-unset && - eselect wine update --${PN#wine-} --if-unset - eend ${?} || die -n "eselect failed, may need to manually handle ${P}" -} - pkg_postinst() { - wine-eselect register + eselect wine update --if-unset || die } -pkg_prerm() { - if [[ ${REPLACED_BY_VERSION%-r*} != ${PV} ]]; then #881035 - nonfatal wine-eselect deregister - fi +pkg_postrm() { + eselect wine update --if-unset || die } |