1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-10-25 21:07:40 +00:00
freebsd-ports/textproc/libxml2/files/patch-ac
Ade Lovett 5ab6c2fc42 Persuade libxml2 to install into different filesystem space than
libxml (cursing the author all the way for having two incompatible
versions of their software do this).

This is still not 100%, but a step in the right direction for those
ports that need libxml2, but also have to co-exist with GNOME
(which, for the moment, uses libxml exclusively).

Max will be committing a port shortly to show exactly how to
tell a port to use libxml2 under this new scheme of things.

As and when GNOME (the primary consumer of libxml) moves over
to libxml2, these hacks will be reverted, and similar hacks put
in to libxml until it dies a quiet death.

Submitted by:	sobomax
2000-11-15 16:29:26 +00:00

23 lines
939 B
Plaintext

--- include/Makefile.in 2000/11/15 09:53:28 1.1
+++ include/Makefile.in 2000/11/15 10:12:23
@@ -143,8 +143,8 @@
$(mkinstalldirs) $(DESTDIR)$(xmlincdir)
@list='$(xmlinc_HEADERS)'; for p in $$list; do \
if test -f "$$p"; then d= ; else d="$(srcdir)/"; fi; \
- echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(xmlincdir)/$$p"; \
- $(INSTALL_DATA) $$d$$p $(DESTDIR)$(xmlincdir)/$$p; \
+ echo " $(INSTALL_DATA) $$d$$p $(DESTDIR)$(xmlincdir)/`echo $$p | sed 's|libxml/|libxml2/|'`"; \
+ $(INSTALL_DATA) $$d$$p $(DESTDIR)$(xmlincdir)/`echo $$p | sed 's|libxml/|libxml2/|'`; \
done
uninstall-xmlincHEADERS:
@@ -266,7 +266,7 @@
install-exec-hook:
- $(mkinstalldirs) $(DESTDIR)$(xmlincdir) $(DESTDIR)$(xmlincdir)/libxml
+ $(mkinstalldirs) $(DESTDIR)$(xmlincdir) $(DESTDIR)$(xmlincdir)/libxml2
# Tell versions [3.59,3.63) of GNU make to not export all variables.
# Otherwise a system limit (for SysV at least) may be exceeded.