summaryrefslogtreecommitdiffstats
path: root/src/waf.mk
diff options
context:
space:
mode:
authorTony Theodore <tonyt@logyst.com>2018-03-11 16:28:19 (GMT)
committerTony Theodore <tonyt@logyst.com>2018-03-12 03:28:14 (GMT)
commitc8ae0e27985b35daa53b0d89e0a0e855d5b474e5 (patch)
treeae0e41127d64ae0670d33a32b8b27b4a7314044d /src/waf.mk
parent4f21088b48d540a26cdefdae01b69f743a1a0d71 (diff)
downloadmxe-c8ae0e27985b35daa53b0d89e0a0e855d5b474e5.zip
mxe-c8ae0e27985b35daa53b0d89e0a0e855d5b474e5.tar.gz
mxe-c8ae0e27985b35daa53b0d89e0a0e855d5b474e5.tar.bz2
waf: unpack in build dir and don't install for general use
Diffstat (limited to 'src/waf.mk')
-rw-r--r--src/waf.mk7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/waf.mk b/src/waf.mk
index 0243872..f9b157e 100644
--- a/src/waf.mk
+++ b/src/waf.mk
@@ -10,6 +10,7 @@ $(PKG)_SUBDIR := $(PKG)-$($(PKG)_VERSION)
$(PKG)_FILE := $(PKG)-$($(PKG)_VERSION).tar.bz2
$(PKG)_URL := https://waf.io/$($(PKG)_FILE)
$(PKG)_TARGETS := $(BUILD)
+$(PKG)_TYPE := source-only
define $(PKG)_UPDATE
$(WGET) -q -O- 'https://waf.io/' | \
@@ -17,7 +18,5 @@ define $(PKG)_UPDATE
head -1
endef
-define $(PKG)_BUILD_$(BUILD)
- mkdir -p '$(PREFIX)/$(BUILD)/bin'
- cp '$(1)/waf' '$(PREFIX)/$(BUILD)/bin/waf'
-endef
+# waf (python) creates a runtime bytecode cache that causes issues
+# with packaging - unpack source into build dir and use directly