summaryrefslogtreecommitdiff
path: root/lang/ocaml/patches/patch-ay
diff options
context:
space:
mode:
authortron <tron>2004-04-22 09:18:34 +0000
committertron <tron>2004-04-22 09:18:34 +0000
commitd730e797ceb41d3c65f5f93175e749aab7304d0d (patch)
tree59672b97d93cb0901c01e1fad17ba3b32b924095 /lang/ocaml/patches/patch-ay
parentdb00d969c5c33ff82e28c6ea5d129a47e9b364fa (diff)
downloadpkgsrc-d730e797ceb41d3c65f5f93175e749aab7304d0d.tar.gz
Fix various issues with this package:
- split patches files - always enable threading which has various advantages - it fixes the build of the Tk library - it greatly simplifies the package list handling - it provides threading support under NetBSD 1.6/1.6.x - correct default dependence in "buildlink2.mk" to "build" Bump package revision because of all these changes.
Diffstat (limited to 'lang/ocaml/patches/patch-ay')
-rw-r--r--lang/ocaml/patches/patch-ay22
1 files changed, 22 insertions, 0 deletions
diff --git a/lang/ocaml/patches/patch-ay b/lang/ocaml/patches/patch-ay
new file mode 100644
index 00000000000..7f2528bf65f
--- /dev/null
+++ b/lang/ocaml/patches/patch-ay
@@ -0,0 +1,22 @@
+$NetBSD: patch-ay,v 1.1 2004/04/22 09:18:40 tron Exp $
+
+--- otherlibs/dbm/Makefile.orig Thu Jun 27 13:36:01 2002
++++ otherlibs/dbm/Makefile Thu Apr 22 10:34:37 2004
+@@ -47,13 +47,13 @@
+ rm -f *.a *.o *.so
+
+ install:
+- if test -f dllmldbm.so; then cp dllmldbm.so $(STUBLIBDIR)/dllmldbm.so; fi
+- cp libmldbm.a $(LIBDIR)/libmldbm.a
++ if test -f dllmldbm.so; then ${BSD_INSTALL_DATA} dllmldbm.so $(STUBLIBDIR)/dllmldbm.so; fi
++ ${BSD_INSTALL_DATA} libmldbm.a $(LIBDIR)/libmldbm.a
+ cd $(LIBDIR); $(RANLIB) libmldbm.a
+- cp dbm.cma dbm.cmi dbm.mli $(LIBDIR)
++ ${BSD_INSTALL_DATA} dbm.cma dbm.cmi dbm.mli $(LIBDIR)
+
+ installopt:
+- cp dbm.cmx dbm.cmxa dbm.a $(LIBDIR)
++ ${BSD_INSTALL_DATA} dbm.cmx dbm.cmxa dbm.a $(LIBDIR)
+ cd $(LIBDIR); $(RANLIB) dbm.a
+
+ .SUFFIXES: .ml .mli .cmo .cmi .cmx