Mercurial > mxe-octave
changeset 5834:0988117f1a6e
XCB: Build with MXE version of python3.
* src/xcb-proto.mk, src/xcb.mk: Build with MXE version of python3.
author | Markus Mützel <markus.muetzel@gmx.de> |
---|---|
date | Wed, 11 Aug 2021 13:34:44 +0200 |
parents | d0e01250d146 |
children | 93d20ff5d6a6 |
files | src/xcb-proto.mk src/xcb.mk |
diffstat | 2 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/src/xcb-proto.mk Tue Aug 10 18:51:59 2021 +0200 +++ b/src/xcb-proto.mk Wed Aug 11 13:34:44 2021 +0200 @@ -8,7 +8,7 @@ $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION) $(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.bz2 $(PKG)_URL := http://www.x.org/archive/individual/xcb/$($(PKG)_FILE) -$(PKG)_DEPS := +$(PKG)_DEPS := build-python3 define $(PKG)_UPDATE @@ -24,7 +24,7 @@ else define $(PKG)_BUILD mkdir '$(1)/.build' - cd '$(1)/.build' && $($(PKG)_CONFIGURE_ENV) '$(1)/configure' \ + cd '$(1)/.build' && $($(PKG)_CONFIGURE_ENV) PYTHON=$(PYTHON3) '$(1)/configure' \ $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ --prefix='$(HOST_PREFIX)' \
--- a/src/xcb.mk Tue Aug 10 18:51:59 2021 +0200 +++ b/src/xcb.mk Wed Aug 11 13:34:44 2021 +0200 @@ -8,7 +8,7 @@ $(PKG)_SUBDIR := libxcb-$($(PKG)_VERSION) $(PKG)_FILE := libxcb-$($(PKG)_VERSION).tar.bz2 $(PKG)_URL := http://www.x.org/archive/individual/xcb/$($(PKG)_FILE) -$(PKG)_DEPS := pthread-stubs util-macros xau xcb-proto +$(PKG)_DEPS := build-python3 pthread-stubs util-macros xau xcb-proto define $(PKG)_UPDATE $(WGET) -q -O- 'https://www.x.org/archive/individual/xcb/' | \ @@ -23,7 +23,7 @@ else define $(PKG)_BUILD mkdir '$(1)/.build' - cd '$(1)/.build' && $($(PKG)_CONFIGURE_ENV) '$(1)/configure' \ + cd '$(1)/.build' && $($(PKG)_CONFIGURE_ENV) PYTHON=$(PYTHON3) '$(1)/configure' \ $(CONFIGURE_CPPFLAGS) $(CONFIGURE_LDFLAGS) \ $(HOST_AND_BUILD_CONFIGURE_OPTIONS) \ --prefix='$(HOST_PREFIX)' \