summaryrefslogtreecommitdiffstats
path: root/textproc/libxml2/files/patch-python_Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'textproc/libxml2/files/patch-python_Makefile')
-rw-r--r--textproc/libxml2/files/patch-python_Makefile20
1 files changed, 20 insertions, 0 deletions
diff --git a/textproc/libxml2/files/patch-python_Makefile b/textproc/libxml2/files/patch-python_Makefile
new file mode 100644
index 000000000..37a01dce1
--- /dev/null
+++ b/textproc/libxml2/files/patch-python_Makefile
@@ -0,0 +1,20 @@
+--- python/Makefile.in.orig 2008-05-23 22:39:11.000000000 -0500
++++ python/Makefile.in 2008-05-23 22:40:42.000000000 -0500
+@@ -322,7 +322,7 @@
+ -I$(top_builddir)/include \
+ -I$(top_builddir)/$(subdir)
+
+-docsdir = $(datadir)/doc/libxml2-python-$(LIBXML_VERSION)
++docsdir = $(datadir)/doc/py-libxml2
+ # libxml2class.txt is generated
+ dist_docs_DATA = TODO
+ EXTRA_DIST = \
+@@ -335,7 +335,7 @@
+
+ libxml2mod_la_LDFLAGS = @CYGWIN_EXTRA_LDFLAGS@ @WIN32_EXTRA_LDFLAGS@ -module -avoid-version
+ @WITH_PYTHON_TRUE@mylibs = \
+-@WITH_PYTHON_TRUE@ $(top_builddir)/libxml2.la
++@WITH_PYTHON_TRUE@ -lxml2
+
+ @WITH_PYTHON_TRUE@python_LTLIBRARIES = libxml2mod.la
+ @WITH_PYTHON_TRUE@libxml2mod_la_SOURCES = libxml.c types.c