summaryrefslogtreecommitdiff
path: root/sci-physics/lhapdf/files/lhapdf-6.3.0-egg.patch
blob: 9122b8eaf7ff17044bf8ab603462d868d6464a4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- a/wrappers/python/Makefile.am	2023-09-01 11:38:37.567370819 +0200
+++ b/wrappers/python/Makefile.am	2023-09-01 11:37:50.641123445 +0200
@@ -29,10 +29,10 @@
 
 ## Always force setup.py, it's not good at guessing what needs to rebuild
 all-local: fix-out-of-source
-	$(PYEXT_ENV) $(PYTHON) setup.py install --install-lib=build/ --force
+	$(PYEXT_ENV) $(PYTHON) setup.py install --single-version-externally-managed --root=/ --install-lib=$(S)/build/ --force
 
 install-exec-local:
-	$(PYEXT_ENV) $(PYTHON) setup.py install --prefix=$(DESTDIR)$(prefix) --force
+	$(PYEXT_ENV) $(PYTHON) setup.py install --single-version-externally-managed --root=/ --prefix=$(DESTDIR)$(prefix) --force
 
 uninstall-local:
 	rm -f $(DESTDIR)$(PYTHON_PATH)/lhapdf.so