From 6dcf85800006bcc069444286a42dff0ee0c1e89f Mon Sep 17 00:00:00 2001
From: Zooko O'Whielacronx <zooko@allmydata.com>
Date: Thu, 26 Apr 2007 15:40:16 -0700
Subject: [PATCH] use zfec's setuptools installer in the nice controllable way

---
 GNUmakefile | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/GNUmakefile b/GNUmakefile
index 426c3caf..8207c021 100644
--- a/GNUmakefile
+++ b/GNUmakefile
@@ -48,7 +48,7 @@ build: build-zfec build-Crypto
 	$(PYTHON) setup.py $(EXTRA_SETUP_ARGS) install --install-lib="$(INSTDIR)" --install-scripts="$(INSTDIR)/scripts"
 
 build-zfec:
-	cd src/zfec && $(PYTHON) ./setup.py $(EXTRA_SETUP_ARGS) install --install-lib="$(INSTDIR)" --install-scripts="$(INSTDIR)/scripts"
+	cd src/zfec && $(PYTHON) ./setup.py $(EXTRA_SETUP_ARGS) install --single-version-externally-managed --root="$(INSTDIR)" --install-lib="." --install-scripts="$(INSTDIR)/scripts"
 
 clean-zfec:
 	-cd src/zfec && python ./setup.py clean --all
-- 
2.45.2