summaryrefslogtreecommitdiff
path: root/textproc/expat2/files/patch-aa
diff options
context:
space:
mode:
authorAkinori MUSHA <knu@FreeBSD.org>2000-10-18 05:46:55 +0000
committerAkinori MUSHA <knu@FreeBSD.org>2000-10-18 05:46:55 +0000
commitb61e799d8bf4a0bce5780ecd3b9fb728f627b686 (patch)
tree963f1e47f6e5018f0e14c374af48e64c336e77ba /textproc/expat2/files/patch-aa
parentCleanup the patch part of the Makefile (diff)
Update to 1.2.
Add BSD-style Makefiles for building & installation. Use a tarball distribution instead of the zip one which includes redundant Windows binaries. Take over the maintainership. Permitted by: dirk (previous MAINTAINER)
Diffstat (limited to '')
-rw-r--r--textproc/expat2/files/patch-aa56
1 files changed, 0 insertions, 56 deletions
diff --git a/textproc/expat2/files/patch-aa b/textproc/expat2/files/patch-aa
deleted file mode 100644
index 807621a158e7..000000000000
--- a/textproc/expat2/files/patch-aa
+++ /dev/null
@@ -1,56 +0,0 @@
---- Makefile.orig Mon Mar 8 08:20:38 1999
-+++ Makefile Wed Aug 9 04:48:01 2000
-@@ -1,30 +1,30 @@
--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 -fpic
- # Use one of the next two lines; unixfilemap is better if it works.
- FILEMAP_OBJ=xmlwf/unixfilemap.o
- #FILEMAP_OBJ=xmlwf/readfilemap.o
- OBJS=xmltok/xmltok.o \
- xmltok/xmlrole.o \
-- xmlwf/xmlwf.o \
-- xmlwf/xmlfile.o \
-- xmlwf/codepage.o \
- xmlparse/xmlparse.o \
- xmlparse/hashtable.o \
- $(FILEMAP_OBJ)
-+XOBJS=xmlwf/xmlwf.o \
-+ xmlwf/xmlfile.o \
-+ xmlwf/codepage.o
-+
- EXE=
-
--all: xmlwf/xmlwf$(EXE)
-+all: xmlwf/xmlwf$(EXE) libexpat.a libexpat.so
-
--xmlwf/xmlwf$(EXE): $(OBJS)
-- $(CC) $(CFLAGS) -o $@ $(OBJS)
-+xmlwf/xmlwf$(EXE): $(XOBJS) libexpat.a
-+ $(CC) $(CFLAGS) -o $@ $(XOBJS) -L. -lexpat
-
- clean:
-- rm -f $(OBJS) xmlwf/xmlwf$(EXE)
-+ rm -f $(OBJS) $(XOBJS) xmlwf/xmlwf$(EXE)
-
- xmltok/nametab.h: gennmtab/gennmtab$(EXE)
- rm -f $@
-@@ -34,6 +34,13 @@
- $(CC) $(CFLAGS) -o $@ gennmtab/gennmtab.c
-
- xmltok/xmltok.o: xmltok/nametab.h
-+
-+libexpat.a: $(OBJS)
-+ ar -rc $@ $(OBJS)
-+ ranlib $@
-+
-+libexpat.so: $(OBJS)
-+ $(CC) -shared -o $@ $(OBJS)
-
- .c.o:
- $(CC) $(CFLAGS) -c -o $@ $<