openbsd-ports/textproc/mxml/patches/patch-Makefile_in
jakemsr 9d7cd3a5ab import mxml-1.2.2
Mini-XML is a small XML parsing library that you can use to read XML and
XML-like data files in your application without requiring large
non-standard libraries.

okay steven@
2007-10-01 18:40:11 +00:00

41 lines
1.4 KiB
Plaintext

$OpenBSD: patch-Makefile_in,v 1.1.1.1 2007/10/01 18:40:11 jakemsr Exp $
--- Makefile.in.orig Sun Apr 24 16:23:59 2005
+++ Makefile.in Sat Sep 29 18:26:28 2007
@@ -148,13 +148,13 @@ install-libmxml.a:
$(INSTALL_DIR) $(BUILDROOT)$(libdir)
$(INSTALL_LIB) libmxml.a $(BUILDROOT)$(libdir)
-install-libmxml.so.1.0:
+install-libmxml.so.$(LIBmxml_VERSION):
$(INSTALL_DIR) $(BUILDROOT)$(libdir)
- $(INSTALL_LIB) libmxml.so.1.0 $(BUILDROOT)$(libdir)
- $(RM) $(BUILDROOT)$(libdir)/libmxml.so
- $(LN) libmxml.so.1.0 $(BUILDROOT)$(libdir)/libmxml.so
- $(RM) $(BUILDROOT)$(libdir)/libmxml.so.1
- $(LN) libmxml.so.1.0 $(BUILDROOT)$(libdir)/libmxml.so.1
+ $(INSTALL_LIB) libmxml.so.$(LIBmxml_VERSION) $(BUILDROOT)$(libdir)
+# $(RM) $(BUILDROOT)$(libdir)/libmxml.so
+# $(LN) libmxml.so.1.0 $(BUILDROOT)$(libdir)/libmxml.so
+# $(RM) $(BUILDROOT)$(libdir)/libmxml.so.1
+# $(LN) libmxml.so.1.0 $(BUILDROOT)$(libdir)/libmxml.so.1
install-libmxml.sl.1:
$(INSTALL_DIR) $(BUILDROOT)$(libdir)
@@ -261,11 +261,11 @@ $(LIBOBJS): mxml.h
# libmxml.so.1.0
#
-libmxml.so.1.0: $(LIBOBJS)
- $(DSO) $(DSOFLAGS) -o libmxml.so.1.0 $(LIBOBJS)
- $(RM) libmxml.so libmxml.so.1
- $(LN) libmxml.so.1.0 libmxml.so
- $(LN) libmxml.so.1.0 libmxml.so.1
+libmxml.so.$(LIBmxml_VERSION): $(LIBOBJS)
+ $(DSO) $(DSOFLAGS) -o libmxml.so.$(LIBmxml_VERSION) $(LIBOBJS)
+# $(RM) libmxml.so libmxml.so.1
+# $(LN) libmxml.so.1.0 libmxml.so
+# $(LN) libmxml.so.1.0 libmxml.so.1
#