summaryrefslogtreecommitdiff
path: root/lang/ocaml/patches/patch-bm
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-bm
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-bm')
-rw-r--r--lang/ocaml/patches/patch-bm22
1 files changed, 22 insertions, 0 deletions
diff --git a/lang/ocaml/patches/patch-bm b/lang/ocaml/patches/patch-bm
new file mode 100644
index 00000000000..f8a24571a91
--- /dev/null
+++ b/lang/ocaml/patches/patch-bm
@@ -0,0 +1,22 @@
+$NetBSD: patch-bm,v 1.1 2004/04/22 09:18:45 tron Exp $
+
+--- otherlibs/num/Makefile.orig Thu Jun 27 13:36:01 2002
++++ otherlibs/num/Makefile Thu Apr 22 10:34:37 2004
+@@ -53,13 +53,13 @@
+ $(CAMLOBJS:.cmo=.cmx): ../../ocamlopt
+
+ install:
+- if test -f dllnums.so; then cp dllnums.so $(STUBLIBDIR)/dllnums.so; fi
+- cp libnums.a $(LIBDIR)/libnums.a
++ if test -f dllnums.so; then ${BSD_INSTALL_DATA} dllnums.so $(STUBLIBDIR)/dllnums.so; fi
++ ${BSD_INSTALL_DATA} libnums.a $(LIBDIR)/libnums.a
+ cd $(LIBDIR); $(RANLIB) libnums.a
+- cp nums.cma $(CMIFILES) $(CMIFILES:.cmi=.mli) $(LIBDIR)
++ ${BSD_INSTALL_DATA} nums.cma $(CMIFILES) $(CMIFILES:.cmi=.mli) $(LIBDIR)
+
+ installopt:
+- cp $(CAMLOBJS:.cmo=.cmx) nums.cmxa nums.a $(LIBDIR)
++ ${BSD_INSTALL_DATA} $(CAMLOBJS:.cmo=.cmx) nums.cmxa nums.a $(LIBDIR)
+ cd $(LIBDIR); $(RANLIB) nums.a
+
+ partialclean: