[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Patch to support libxml on FreeBSD
From: |
Kim Shrier |
Subject: |
Patch to support libxml on FreeBSD |
Date: |
Sun, 23 Sep 2001 00:30:04 -0500 |
With all the recent changes to the makefiles, the headers for libxml
are no longer found since FreeBSD puts them in a non-standard location.
In order to allow both version 1.x and 2.x of libxml to be on the same
machine, the headers for libxml are placed in
/usr/local/include/libxml2/libxml. Also, since some of the time the
headers are included as "tree.h" and sometimes as "libxml/tree.h"
both /usr/local/include/libxml2 and /usr/local/include/libxml2/libxml
need to be in the include path. This patch fixes configure.in in
core/make. After applying this patch, you will need to regenerate the
configure script.
Kim
--
Kim Shrier - principal, Shrier and Deihl - mailto:kim@tinker.com
Remote Unix Network Admin, Security, Internet Software Development
Tinker Internet Services - Superior FreeBSD-based Web Hosting
http://www.tinker.com/
--- core/make/configure.in.orig Tue Aug 21 21:30:39 2001
+++ core/make/configure.in Sat Sep 22 23:54:32 2001
@@ -148,7 +148,7 @@
# specific target_os options
#--------------------------------------------------------------------
case "$target_os" in
- freebsd*) CPPFLAGS="$CPPFLAGS -I/usr/local/include"
+ freebsd*) CPPFLAGS="$CPPFLAGS -I/usr/local/include
-I/usr/local/include/libxml2 -I/usr/local/include/libxml2/libxml"
LIBS="$LIBS -L/usr/local/lib";;
esac
- Patch to support libxml on FreeBSD,
Kim Shrier <=