[Python-modules-commits] r2907 - in /packages/mod-wsgi/trunk/debian/patches: ./ 00dpatch.conf 00list makefile-destdir.dpatch

bzed-guest at users.alioth.debian.org bzed-guest at users.alioth.debian.org
Mon Jul 30 15:35:27 UTC 2007


Author: bzed-guest
Date: Mon Jul 30 15:35:27 2007
New Revision: 2907

URL: http://svn.debian.org/wsvn/python-modules/?sc=1&rev=2907
Log:
adding DESTDIR support to the makefile

Added:
    packages/mod-wsgi/trunk/debian/patches/
    packages/mod-wsgi/trunk/debian/patches/00dpatch.conf
    packages/mod-wsgi/trunk/debian/patches/00list
    packages/mod-wsgi/trunk/debian/patches/makefile-destdir.dpatch   (with props)

Added: packages/mod-wsgi/trunk/debian/patches/00dpatch.conf
URL: http://svn.debian.org/wsvn/python-modules/packages/mod-wsgi/trunk/debian/patches/00dpatch.conf?rev=2907&op=file
==============================================================================
--- packages/mod-wsgi/trunk/debian/patches/00dpatch.conf (added)
+++ packages/mod-wsgi/trunk/debian/patches/00dpatch.conf Mon Jul 30 15:35:27 2007
@@ -1,0 +1,2 @@
+conf_debianonly=1
+conf_origtargzpath=../tarballs

Added: packages/mod-wsgi/trunk/debian/patches/00list
URL: http://svn.debian.org/wsvn/python-modules/packages/mod-wsgi/trunk/debian/patches/00list?rev=2907&op=file
==============================================================================
--- packages/mod-wsgi/trunk/debian/patches/00list (added)
+++ packages/mod-wsgi/trunk/debian/patches/00list Mon Jul 30 15:35:27 2007
@@ -1,0 +1,1 @@
+makefile-destdir

Added: packages/mod-wsgi/trunk/debian/patches/makefile-destdir.dpatch
URL: http://svn.debian.org/wsvn/python-modules/packages/mod-wsgi/trunk/debian/patches/makefile-destdir.dpatch?rev=2907&op=file
==============================================================================
--- packages/mod-wsgi/trunk/debian/patches/makefile-destdir.dpatch (added)
+++ packages/mod-wsgi/trunk/debian/patches/makefile-destdir.dpatch Mon Jul 30 15:35:27 2007
@@ -1,0 +1,27 @@
+#! /bin/sh /usr/share/dpatch/dpatch-run
+## makefile-destdir.dpatch by Bernd Zeimetz <bernd at bzed.de>
+##
+## DP: add DESTDIR support to the -2.X Makefile.
+
+ at DPATCH@
+diff -urNad mod-wsgi~/Makefile-2.X.in mod-wsgi/Makefile-2.X.in
+--- mod-wsgi~/Makefile-2.X.in	2007-06-23 06:05:48.000000000 +0200
++++ mod-wsgi/Makefile-2.X.in	2007-07-30 17:33:40.000000000 +0200
+@@ -13,6 +13,8 @@
+ #  limitations under the License.
+ 
+ APXS=@APXS@
++APXS_LIBEXECDIR = $(shell $(APXS) -q LIBEXECDIR)
++DESTDIR =
+ PYTHON=@PYTHON@
+ 
+ CPPFLAGS = @CPPFLAGS@
+@@ -26,7 +28,7 @@
+ 	$(APXS) -c $(CPPFLAGS) $(CFLAGS) mod_wsgi.c $(LDFLAGS) $(LDLIBS)
+ 
+ install : all
+-	$(APXS) -i -n 'mod_wsgi' mod_wsgi.la
++	$(APXS) -i -S LIBEXECDIR=$(DESTDIR)$(APXS_LIBEXECDIR) -n 'mod_wsgi' mod_wsgi.la
+ 
+ clean :
+ 	-rm -rf .libs

Propchange: packages/mod-wsgi/trunk/debian/patches/makefile-destdir.dpatch
------------------------------------------------------------------------------
    svn:executable = *




More information about the Python-modules-commits mailing list