tweak thirdparty waf-setup for arch
authorGood Guy <good1.2guy@gmail.com>
Tue, 7 Aug 2018 16:22:35 +0000 (10:22 -0600)
committerGood Guy <good1.2guy@gmail.com>
Tue, 7 Aug 2018 16:22:35 +0000 (10:22 -0600)
cinelerra-5.1/thirdparty/Makefile

index 5865b7523aa752145d5146d739a7101f51136c69..d1555b9d4fd32d318ceca034a27d453fc4b08d11 100644 (file)
@@ -221,7 +221,9 @@ LV2_PKGCFG:=$(subst : ,:,$(foreach p,lv2 serd sord sratom lilv suil,$(call pkg_c
 
 # lv2
 define waf-setup
-$(1).cfg_vars+=echo 'exec ./waf configure "$(DS)@"' > ./configure; chmod +x \
+$(1).cfg_vars+=./waf --version; find .waf* -type f -name "*.py" | \
+ while read f; do sed -e '/StopIter/d' -i "$(DS)f"; done; \
+ echo 'exec ./waf configure "$(DS)@"' > ./configure; chmod +x \
  ./configure;  PKG_CONFIG_PATH=$(LV2_PKGCFG) LD_LIBRARY_PATH=$(LV2_LIBPATH) 
 $(1).cfg_params+=\
  CFLAGS="-I$(call bld_path,lv2) $(foreach f,$(2), $(call inc_path,$(f))) -fPIC "\