DESDIR style installation
authorArtur Frysiak <artur@frysiak.net>
Wed, 19 Sep 2001 13:46:38 +0000 (13:46 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    apache-mod_python-DESTDIR.patch -> 1.1

apache-mod_python-DESTDIR.patch [new file with mode: 0644]

diff --git a/apache-mod_python-DESTDIR.patch b/apache-mod_python-DESTDIR.patch
new file mode 100644 (file)
index 0000000..e1ee7db
--- /dev/null
@@ -0,0 +1,28 @@
+--- mod_python-2.6.4/Makefile.in.wiget Tue Dec 12 19:23:28 2000
++++ mod_python-2.6.4/Makefile.in       Tue Dec 12 19:25:51 2000
+@@ -90,7 +90,8 @@
+       @echo
+       @echo "Performing DSO installation."
+       @echo
+-      $(INSTALL) src/mod_python.so $(LIBEXECDIR)
++      $(INSTALL) -d $(DESTDIR)$(LIBEXECDIR)
++      $(INSTALL) src/mod_python.so $(DESTDIR)$(LIBEXECDIR)
+       @$(MAKE) install_py_lib
+       @echo
+       @echo "Now don't forget to edit your main config and add"
+@@ -123,12 +124,12 @@
+       @echo
+ install_py_lib:
+-      $(INSTALL) -d $(PY_STD_LIB)/site-packages/mod_python
++      $(INSTALL) -d $(DESTDIR)$(PY_STD_LIB)/site-packages/mod_python
+       @for f in `ls lib/python/mod_python/*.py`; \
+       do \
+-              $(INSTALL) $$f $(PY_STD_LIB)/site-packages/mod_python; \
++              $(INSTALL) $$f $(DESTDIR)$(PY_STD_LIB)/site-packages/mod_python; \
+       done
+-      python $(PY_STD_LIB)/compileall.py $(PY_STD_LIB)/site-packages/mod_python
++      python $(PY_STD_LIB)/compileall.py $(DESTDIR)$(PY_STD_LIB)/site-packages/mod_python
+ clean:
+       cd src && $(MAKE) clean
This page took 0.037286 seconds and 4 git commands to generate.