ports/textproc/libxml2/files/patch-python::Makefile.in
Jeremy Messenger e39c0ec06b Update to 2.6.32. As for the py-libxml2, get it able to find Python correct
when PREFIX is set other than LOCALBASE and will allowing the modules to build.
2008-05-24 05:27:17 +00:00

20 lines
709 B
Text

--- 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