commit:     60252448ea396117671e3c7acceee7ba60673c73
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jun  3 02:20:23 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jun 10 10:24:05 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=60252448

xorg-3.eclass: drop dead prefix targets

Followup to 3db70e9c014e415ae38a713b47cf7b299fd11945.

Signed-off-by: Sam James <sam <AT> gentoo.org>

 eclass/xorg-3.eclass | 17 +----------------
 1 file changed, 1 insertion(+), 16 deletions(-)

diff --git a/eclass/xorg-3.eclass b/eclass/xorg-3.eclass
index c3ece64ae42d..74ba29657e64 100644
--- a/eclass/xorg-3.eclass
+++ b/eclass/xorg-3.eclass
@@ -273,19 +273,7 @@ xorg-3_src_unpack() {
 xorg-3_reconf_source() {
        debug-print-function ${FUNCNAME} "$@"
 
-       case ${CHOST} in
-               *-aix* | *-winnt*)
-                       # some hosts need full eautoreconf
-                       [[ -e "./configure.ac" || -e "./configure.in" ]] \
-                               && XORG_EAUTORECONF=yes
-                       ;;
-               *)
-                       # elibtoolize required for BSD
-                       [[ ${XORG_EAUTORECONF} != no && ( -e "./configure.ac" 
|| -e "./configure.in" ) ]] \
-                               && XORG_EAUTORECONF=yes
-                       ;;
-       esac
-
+       [[ ${XORG_EAUTORECONF} != no && ( -e "./configure.ac" || -e 
"./configure.in" ) ]] && XORG_EAUTORECONF=yes
        [[ ${XORG_EAUTORECONF} != no ]] && eautoreconf
        elibtoolize --patch-only
 }
@@ -326,9 +314,6 @@ xorg-3_font_configure() {
 xorg-3_flags_setup() {
        debug-print-function ${FUNCNAME} "$@"
 
-       # Win32 require special define
-       [[ ${CHOST} == *-winnt* ]] && append-cppflags -DWIN32 -D__STDC__
-
        # Hardened flags break module autoloading et al (also fixes #778494)
        if [[ ${PN} == xorg-server || ${PN} == xf86-video-* || ${PN} == 
xf86-input-* ]]; then
                filter-flags -fno-plt

Reply via email to