tags 556364 + patch
thanks

Hi!

Please find attached a patch to fix this bug.

HTH, and thanks.

Kumar
diff -Nru --exclude changelog pycxx-5.5.0/debian/control pycxx-5.5.0/debian/control
--- pycxx-5.5.0/debian/control	2009-11-15 09:58:58.000000000 -0600
+++ pycxx-5.5.0/debian/control	2009-11-15 09:58:58.000000000 -0600
@@ -24,6 +24,7 @@
 Depends: python-cxx, ${python:Depends}, python-dev
 Conflicts: python2.3-cxx-dev, python2.4-cxx-dev
 Replaces: python2.3-cxx-dev, python2.4-cxx-dev
+XB-Python-Version: ${python:Versions}
 Description: A Set of facilities to extend Python with C++
  PyCXX is a set of C++ facilities to make it easier to write Python
  extensions.  The chief way in which PyCXX makes it easier to write
diff -Nru --exclude changelog pycxx-5.5.0/debian/rules pycxx-5.5.0/debian/rules
--- pycxx-5.5.0/debian/rules	2009-11-15 09:58:58.000000000 -0600
+++ pycxx-5.5.0/debian/rules	2009-11-15 09:58:58.000000000 -0600
@@ -16,7 +16,7 @@
 # This has to be exported to make some magic below work.
 export DH_OPTIONS
 
-
+-include /usr/share/python/python.mk
 
 CFLAGS = -Wall -g
 
@@ -96,7 +96,7 @@
 
 install-python%:
 	/usr/bin/python$* setup.py install \
-		--root=$(shell pwd)/debian/python-cxx
+		--root=$(shell pwd)/debian/python-cxx --prefix=/usr $(py_setup_install_args)
 	find debian/python-cxx -name '*.egg-info' | xargs -r rm -f
 	mkdir -p debian/python-cxx-dev/usr/share/
 	mv debian/python-cxx/usr/share/python$* \

Reply via email to