]> git.pld-linux.org Git - packages/apache-mod_python.git/blob - apache-mod_python-DESTDIR.patch
- added -DEAPI flag fro compiler, it is needed by apache
[packages/apache-mod_python.git] / apache-mod_python-DESTDIR.patch
1 --- mod_python-2.6.4/Makefile.in.wiget  Tue Dec 12 19:23:28 2000
2 +++ mod_python-2.6.4/Makefile.in        Tue Dec 12 19:25:51 2000
3 @@ -90,7 +90,8 @@
4         @echo
5         @echo "Performing DSO installation."
6         @echo
7 -       $(INSTALL) src/mod_python.so $(LIBEXECDIR)
8 +       $(INSTALL) -d $(DESTDIR)$(LIBEXECDIR)
9 +       $(INSTALL) src/mod_python.so $(DESTDIR)$(LIBEXECDIR)
10         @$(MAKE) install_py_lib
11         @echo
12         @echo "Now don't forget to edit your main config and add"
13 @@ -123,12 +124,12 @@
14         @echo
15  
16  install_py_lib:
17 -       $(INSTALL) -d $(PY_STD_LIB)/site-packages/mod_python
18 +       $(INSTALL) -d $(DESTDIR)$(PY_STD_LIB)/site-packages/mod_python
19         @for f in `ls lib/python/mod_python/*.py`; \
20         do \
21 -               $(INSTALL) $$f $(PY_STD_LIB)/site-packages/mod_python; \
22 +               $(INSTALL) $$f $(DESTDIR)$(PY_STD_LIB)/site-packages/mod_python; \
23         done
24 -       python $(PY_STD_LIB)/compileall.py $(PY_STD_LIB)/site-packages/mod_python
25 +       python $(PY_STD_LIB)/compileall.py $(DESTDIR)$(PY_STD_LIB)/site-packages/mod_python
26  
27  clean:
28         cd src && $(MAKE) clean
This page took 0.065423 seconds and 3 git commands to generate.