aboutsummaryrefslogtreecommitdiff
path: root/textproc/domc/files
diff options
context:
space:
mode:
authorYing-Chieh Liao <ijliao@FreeBSD.org>2001-11-23 17:36:44 +0000
committerYing-Chieh Liao <ijliao@FreeBSD.org>2001-11-23 17:36:44 +0000
commit4a03fd998568db0f83085c99a76cddf554da3ec1 (patch)
tree5123d56509be32b25be017ea8a2924cd75bfeed1 /textproc/domc/files
parent611fcfa204445df63abaed70c7e5d0d7fcceca98 (diff)
Notes
Diffstat (limited to 'textproc/domc/files')
-rw-r--r--textproc/domc/files/patch-Makefile28
1 files changed, 23 insertions, 5 deletions
diff --git a/textproc/domc/files/patch-Makefile b/textproc/domc/files/patch-Makefile
index f20efc5b41c5..fd1c21a38ab8 100644
--- a/textproc/domc/files/patch-Makefile
+++ b/textproc/domc/files/patch-Makefile
@@ -1,9 +1,27 @@
---- Makefile.orig Mon Aug 27 15:03:28 2001
-+++ Makefile Tue Oct 9 13:18:10 2001
-@@ -24,5 +24,5 @@
- if [ -f examples/d5.o ]; then $(MAKE) -C examples clean; fi
+--- Makefile.orig Sat Oct 27 13:40:45 2001
++++ Makefile Thu Nov 22 03:34:09 2001
+@@ -1,13 +1,13 @@
+-INSTDIR = /usr/local
++INSTDIR = ${PREFIX}
+ OBJS = lib/expatls.o lib/events.o lib/node.o lib/dom.o lib/stack.o
+ LIBNAME = domc
+-SONAME = lib$(LIBNAME).so.0.5.0
+-SOVERSION = lib$(LIBNAME).so.0.5
++SONAME = lib$(LIBNAME).so.${SHLIB_MAJOR}
++SOVERSION = lib$(LIBNAME).so.${SHLIB_MAJOR}
+
+ all: lib$(LIBNAME).so
+
+ lib$(LIBNAME).so: $(OBJS)
+- gcc -Wall -shared $(OBJS) -lc -Wl,-soname -Wl,$(SOVERSION) -o $(SONAME)
++ ${CC} ${CFLAGS} -shared $(OBJS) -Wl,-soname -Wl,$(SOVERSION) -o $(SONAME) -L${LOCALBASE}/lib -lexpat -Wl,-rpath ${LOCALBASE}/lib
+
+ example:
+ $(MAKE) -C examples
+@@ -25,5 +25,5 @@
+ @echo "Expat was not removed however"
.c.o:
- gcc -Wall -Iinclude -Llib -fPIC -DPIC -c -o $*.o $<
-+ gcc %%CFLAGS%% -Wall -Iinclude -Llib -fPIC -DPIC -c -o $*.o $<
++ ${CC} ${CFLAGS} -I${LOCALBASE}/include/xml -Iinclude -Llib -fPIC -DPIC -c -o $*.o $<