Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

makekit changes derived from trunk

(libxml2: r58957)
  • Loading branch information...
commit 1c27fca5c1211048f88403eba2440e5acac52add 1 parent 01386aa
Scott Salley authored gitsync committed
Showing with 57 additions and 12 deletions.
  1. +57 −12 libxml2/MakeKitBuild
View
69 libxml2/MakeKitBuild
@@ -3,20 +3,59 @@ make()
# libxml2 likes to put headers in weird places
XML_INCDIR="${MK_INCLUDEDIR}/libxml2"
- # Work around race condition in mkdir -p on some systems
- # by pre-creating directory
- mk_target \
- TARGET=".precreate_dir" \
- mk_mkdir "&${XML_INCDIR}/libxml" '%;' \
- mk_run_or_fail touch '$@'
+ XML_HEADERS="\
+ ${XML_INCDIR}/libxml/xmlmodule.h \
+ ${XML_INCDIR}/libxml/entities.h \
+ ${XML_INCDIR}/libxml/parser.h \
+ ${XML_INCDIR}/libxml/xmlexports.h \
+ ${XML_INCDIR}/libxml/encoding.h \
+ ${XML_INCDIR}/libxml/xmlmemory.h \
+ ${XML_INCDIR}/libxml/debugXML.h \
+ ${XML_INCDIR}/libxml/nanohttp.h \
+ ${XML_INCDIR}/libxml/schemasInternals.h \
+ ${XML_INCDIR}/libxml/threads.h \
+ ${XML_INCDIR}/libxml/schematron.h \
+ ${XML_INCDIR}/libxml/dict.h \
+ ${XML_INCDIR}/libxml/xlink.h \
+ ${XML_INCDIR}/libxml/xmlregexp.h \
+ ${XML_INCDIR}/libxml/xmlunicode.h \
+ ${XML_INCDIR}/libxml/valid.h \
+ ${XML_INCDIR}/libxml/xpointer.h \
+ ${XML_INCDIR}/libxml/xmlwriter.h \
+ ${XML_INCDIR}/libxml/DOCBparser.h \
+ ${XML_INCDIR}/libxml/HTMLtree.h \
+ ${XML_INCDIR}/libxml/xpathInternals.h \
+ ${XML_INCDIR}/libxml/xmlschemastypes.h \
+ ${XML_INCDIR}/libxml/uri.h \
+ ${XML_INCDIR}/libxml/catalog.h \
+ ${XML_INCDIR}/libxml/hash.h \
+ ${XML_INCDIR}/libxml/xmlschemas.h \
+ ${XML_INCDIR}/libxml/xmlIO.h \
+ ${XML_INCDIR}/libxml/xinclude.h \
+ ${XML_INCDIR}/libxml/xpath.h \
+ ${XML_INCDIR}/libxml/list.h \
+ ${XML_INCDIR}/libxml/globals.h \
+ ${XML_INCDIR}/libxml/relaxng.h \
+ ${XML_INCDIR}/libxml/xmlautomata.h \
+ ${XML_INCDIR}/libxml/xmlversion.h \
+ ${XML_INCDIR}/libxml/SAX2.h \
+ ${XML_INCDIR}/libxml/chvalid.h \
+ ${XML_INCDIR}/libxml/SAX.h \
+ ${XML_INCDIR}/libxml/xmlsave.h \
+ ${XML_INCDIR}/libxml/nanoftp.h \
+ ${XML_INCDIR}/libxml/pattern.h \
+ ${XML_INCDIR}/libxml/xmlreader.h \
+ ${XML_INCDIR}/libxml/parserInternals.h \
+ ${XML_INCDIR}/libxml/xmlerror.h \
+ ${XML_INCDIR}/libxml/HTMLparser.h \
+ ${XML_INCDIR}/libxml/tree.h \
+ ${XML_INCDIR}/libxml/xmlstring.h \
+ ${XML_INCDIR}/libxml/c14n.h"
mk_autotools \
- HEADERS="${XML_INCDIR}/libxml/tree.h \
- ${XML_INCDIR}/libxml/xpath.h \
- ${XML_INCDIR}/libxml/parser.h \
- ${XML_INCDIR}/libxml/xpathInternals.h" \
- LIBS="xml2" \
- DEPS="$result" \
+ HEADERS="$XML_HEADERS" \
+ LIBS="xml2:8:29:6" \
+ INSTALL_PRE=xml2_pre \
-- \
--with-iconv=no \
--with-zlib=no \
@@ -24,4 +63,10 @@ make()
--with-ftp=no \
--enable-ipv6=no \
--with-python=no
+}
+
+xml2_pre()
+{
+ mk_mkdir "$1${MK_INCLUDEDIR}/libxml2/libxml"
+ mk_mkdir "$1${MK_LIBDIR}"
}
Please sign in to comment.
Something went wrong with that request. Please try again.