summaryrefslogtreecommitdiff
path: root/lang/ocaml/patches/patch-bc
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-bc
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-bc')
-rw-r--r--lang/ocaml/patches/patch-bc23
1 files changed, 23 insertions, 0 deletions
diff --git a/lang/ocaml/patches/patch-bc b/lang/ocaml/patches/patch-bc
new file mode 100644
index 00000000000..93a828a6285
--- /dev/null
+++ b/lang/ocaml/patches/patch-bc
@@ -0,0 +1,23 @@
+$NetBSD: patch-bc,v 1.1 2004/04/22 09:18:41 tron Exp $
+
+--- otherlibs/labltk/camltk/Makefile.orig Fri Apr 26 15:57:38 2002
++++ otherlibs/labltk/camltk/Makefile Thu Apr 22 10:34:37 2004
+@@ -21,14 +21,12 @@
+ $(MAKE) -f Makefile.gen clean
+
+ install: $(CAMLTKOBJS)
+- if test -d $(INSTALLDIR); then : ; else mkdir $(INSTALLDIR); fi
+- cp $(CAMLTKOBJS:.cmo=.cmi) $(CWIDGETOBJS:.cmo=.mli) $(INSTALLDIR)
+- chmod 644 $(INSTALLDIR)/*.cmi
++ if test -d $(INSTALLDIR); then : ; else ${BSD_INSTALL_DATA_DIR} $(INSTALLDIR); fi
++ ${BSD_INSTALL_DATA} $(CAMLTKOBJS:.cmo=.cmi) $(CWIDGETOBJS:.cmo=.mli) $(INSTALLDIR)
+
+ installopt: $(CAMLTKOBJSX)
+- @if test -d $(INSTALLDIR); then : ; else mkdir $(INSTALLDIR); fi
+- cp $(CAMLTKOBJSX) $(INSTALLDIR)
+- chmod 644 $(INSTALLDIR)/*.cmx
++ @if test -d $(INSTALLDIR); then : ; else ${BSD_INSTALL_DATA_DIR} $(INSTALLDIR); fi
++ ${BSD_INSTALL_DATA} $(CAMLTKOBJSX) $(INSTALLDIR)
+
+ .SUFFIXES :
+ .SUFFIXES : .mli .ml .cmi .cmx .cmo .mlp