view src/xdamage.mk @ 6203:8b23f76955c6 release

ICU4C: Use GCC for native version even if clang is installed. * src/icu4c.mk: ICU4C seems to prefer clang for building the native version if it is installed on the build system. But it looks like that doesn't work for some reason. When cross-compiling, use GCC for the native version instead.
author Markus Mützel <markus.muetzel@gmx.de>
date Thu, 05 May 2022 11:22:40 +0200
parents 58de4f56c797
children
line wrap: on
line source

# This file is part of MXE.
# See index.html for further information.

PKG             := xdamage
$(PKG)_IGNORE   :=
$(PKG)_VERSION  := 1.1.4
$(PKG)_CHECKSUM := c3fc0f4b02dce2239bf46c82a5f06b06585720ae
$(PKG)_SUBDIR   := libXdamage-$($(PKG)_VERSION)
$(PKG)_FILE     := libXdamage-$($(PKG)_VERSION).tar.bz2
$(PKG)_URL      := http://www.x.org/archive/individual/lib/$($(PKG)_FILE)
$(PKG)_DEPS     := damageproto xfixes fixesproto xextproto x11

ifeq ($(MXE_WINDOWS_BUILD),yes)
  define $(PKG)_BUILD
  endef
else
  define $(PKG)_BUILD
    mkdir '$(1)/.build'
    cd '$(1)/.build' && $($(PKG)_CONFIGURE_ENV) '$(1)/configure' \
        $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \
        $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \
        --prefix='$(HOST_PREFIX)' \
        && $(CONFIGURE_POST_HOOK)

    $(MAKE) -C '$(1)/.build' -j '$(JOBS)' install DESTDIR='$(3)'
  endef
endif