view src/mesa-proto.mk @ 6215:d18a5545df0d release

build-gettext: Don't build emacs bindings. * src/build-gettext.mk: The `emacs` installed on the build system might be incompatible with the STL built by build-gcc. We probably don't need the emacs bindings for the `gettext` build tool anyway. So skip building those bindings.
author Markus Mützel <markus.muetzel@gmx.de>
date Sat, 07 May 2022 12:01:10 +0200
parents a99cf8dbe52d
children
line wrap: on
line source

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

PKG             := mesa-proto
$(PKG)_VERSION  = $(mesa_VERSION)
$(PKG)_CHECKSUM = $(mesa_CHECKSUM)
$(PKG)_SUBDIR   = $(mesa_SUBDIR)
$(PKG)_FILE     = $(mesa_FILE)
$(PKG)_URL      = $(mesa_URL)
$(PKG)_DEPS     := 

define $(PKG)_UPDATE
    echo 'Warning: Updates are temporarily disabled for package $(PKG).' >&2;
    echo $($(PKG)_VERSION)
endef

ifeq ($(USE_SYSTEM_OPENGL),no)
  define $(PKG)_BUILD
    $(INSTALL) -d '$(3)$(HOST_INCDIR)/GL';
    for f in '$(1)/include/GL/*.h' ; do \
      $(INSTALL) -m 644 $$f '$(3)$(HOST_INCDIR)/GL'; \
    done
    $(INSTALL) -d '$(3)$(HOST_INCDIR)/KHR';
    for f in '$(1)/include/KHR/*.h' ; do \
      $(INSTALL) -m 644 $$f '$(3)$(HOST_INCDIR)/KHR'; \
    done
  endef
else
  define $(PKG)_BUILD
  endef
endif