summaryrefslogtreecommitdiff
path: root/lang/ocaml/patches/patch-bq
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-bq
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-bq')
-rw-r--r--lang/ocaml/patches/patch-bq22
1 files changed, 22 insertions, 0 deletions
diff --git a/lang/ocaml/patches/patch-bq b/lang/ocaml/patches/patch-bq
new file mode 100644
index 00000000000..75021d4f893
--- /dev/null
+++ b/lang/ocaml/patches/patch-bq
@@ -0,0 +1,22 @@
+$NetBSD: patch-bq,v 1.1 2004/04/22 09:18:46 tron Exp $
+
+--- otherlibs/unix/Makefile.orig Thu Jun 27 13:36:02 2002
++++ otherlibs/unix/Makefile Thu Apr 22 10:34:37 2004
+@@ -65,13 +65,13 @@
+ rm -f *.a *.o *.so
+
+ install:
+- if test -f dllunix.so; then cp dllunix.so $(STUBLIBDIR)/dllunix.so; fi
+- cp libunix.a $(LIBDIR)/libunix.a
++ if test -f dllunix.so; then ${BSD_INSTALL_DATA} dllunix.so $(STUBLIBDIR)/dllunix.so; fi
++ ${BSD_INSTALL_DATA} libunix.a $(LIBDIR)/libunix.a
+ cd $(LIBDIR); $(RANLIB) libunix.a
+- cp unix.cma $(MLOBJS:.cmo=.cmi) $(MLOBJS:.cmo=.mli) $(LIBDIR)
++ ${BSD_INSTALL_DATA} unix.cma $(MLOBJS:.cmo=.cmi) $(MLOBJS:.cmo=.mli) $(LIBDIR)
+
+ installopt:
+- cp $(MLOBJS:.cmo=.cmx) unix.cmxa unix.a $(LIBDIR)
++ ${BSD_INSTALL_DATA} $(MLOBJS:.cmo=.cmx) unix.cmxa unix.a $(LIBDIR)
+ cd $(LIBDIR); $(RANLIB) unix.a
+
+ .SUFFIXES: .ml .mli .cmo .cmi .cmx