diff options
author | dirk <dirk@FreeBSD.org> | 1999-08-26 13:45:48 +0000 |
---|---|---|
committer | dirk <dirk@FreeBSD.org> | 1999-08-26 13:45:48 +0000 |
commit | 0dc9daf067d8c965906386ef9979866c043c5062 (patch) | |
tree | ff3a30e5a83246276ff5e3edf7374c2945090fef /textproc/expat2/files | |
parent | 32f6e8d65696ea48ce4cfabd41a5d03c6930db29 (diff) | |
download | FreeBSD-ports-0dc9daf067d8c965906386ef9979866c043c5062.zip FreeBSD-ports-0dc9daf067d8c965906386ef9979866c043c5062.tar.gz |
Initial import of expat, a
XML 1.0 parser written in C.
Diffstat (limited to 'textproc/expat2/files')
-rw-r--r-- | textproc/expat2/files/patch-aa | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/textproc/expat2/files/patch-aa b/textproc/expat2/files/patch-aa new file mode 100644 index 0000000..abcd412 --- /dev/null +++ b/textproc/expat2/files/patch-aa @@ -0,0 +1,34 @@ +--- Makefile.orig Mon Mar 8 08:20:38 1999 ++++ Makefile Thu Aug 26 14:49:24 1999 +@@ -1,10 +1,9 @@ +-CC=gcc + # If you know what your system's byte order is, define XML_BYTE_ORDER: + # use -DXML_BYTE_ORDER=12 for little-endian byte order; + # use -DXML_BYTE_ORDER=21 for big-endian (network) byte order. + # -DXML_NS adds support for checking of lexical aspects of XML namespaces spec + # -DXML_MIN_SIZE makes a smaller but slower parser +-CFLAGS=-O2 -Ixmltok -Ixmlparse -DXML_NS ++CFLAGS+=-Ixmltok -Ixmlparse -DXML_NS + # Use one of the next two lines; unixfilemap is better if it works. + FILEMAP_OBJ=xmlwf/unixfilemap.o + #FILEMAP_OBJ=xmlwf/readfilemap.o +@@ -18,7 +17,7 @@ + $(FILEMAP_OBJ) + EXE= + +-all: xmlwf/xmlwf$(EXE) ++all: xmlwf/xmlwf$(EXE) libexpat.a + + xmlwf/xmlwf$(EXE): $(OBJS) + $(CC) $(CFLAGS) -o $@ $(OBJS) +@@ -34,6 +33,10 @@ + $(CC) $(CFLAGS) -o $@ gennmtab/gennmtab.c + + xmltok/xmltok.o: xmltok/nametab.h ++ ++libexpat.a: $(OBJS) ++ ar -rc $@ $(OBJS) ++ ranlib $@ + + .c.o: + $(CC) $(CFLAGS) -c -o $@ $< |