summaryrefslogtreecommitdiff
path: root/lang/ocaml/patches/patch-otherlibs_threads_Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'lang/ocaml/patches/patch-otherlibs_threads_Makefile')
-rw-r--r--lang/ocaml/patches/patch-otherlibs_threads_Makefile13
1 files changed, 8 insertions, 5 deletions
diff --git a/lang/ocaml/patches/patch-otherlibs_threads_Makefile b/lang/ocaml/patches/patch-otherlibs_threads_Makefile
index fcb934d81e5..631e989d8d4 100644
--- a/lang/ocaml/patches/patch-otherlibs_threads_Makefile
+++ b/lang/ocaml/patches/patch-otherlibs_threads_Makefile
@@ -1,16 +1,19 @@
-$NetBSD: patch-otherlibs_threads_Makefile,v 1.6 2015/12/29 23:34:53 dholland Exp $
+$NetBSD: patch-otherlibs_threads_Makefile,v 1.7 2016/05/05 08:12:01 jaapb Exp $
Use BSD_INSTALL_* instead of mkdir and cp
---- otherlibs/threads/Makefile.orig 2015-05-12 14:46:37.000000000 +0000
+--- otherlibs/threads/Makefile.orig 2016-04-01 12:53:41.000000000 +0000
+++ otherlibs/threads/Makefile
-@@ -106,12 +106,12 @@ INSTALL_STUBLIBDIR=$(DESTDIR)$(STUBLIBDI
+@@ -109,14 +109,14 @@ INSTALL_STUBLIBDIR=$(DESTDIR)$(STUBLIBDI
install:
- if test -f dllvmthreads.so; then cp dllvmthreads.so $(INSTALL_STUBLIBDIR)/.; fi
+ if test -f dllvmthreads.so; then \
+- cp dllvmthreads.so $(INSTALL_STUBLIBDIR)/.; \
++ $(BSD_INSTALL_LIB) dllvmthreads.so $(INSTALL_STUBLIBDIR)/.; \
+ fi
- mkdir -p $(INSTALL_LIBDIR)/vmthreads
- cp libvmthreads.a $(INSTALL_LIBDIR)/vmthreads/libvmthreads.a
-+ $(BSD_INSTALL_DATA_DIR) $(INSTALL_LIBDIR)/vmthreads
++ $(BSD_INSTALL_DATA_DIR) -p $(INSTALL_LIBDIR)/vmthreads
+ $(BSD_INSTALL_DATA) libvmthreads.a $(INSTALL_LIBDIR)/vmthreads/libvmthreads.a
cd $(INSTALL_LIBDIR)/vmthreads; $(RANLIB) libvmthreads.a
- cp thread.cmi mutex.cmi condition.cmi event.cmi threadUnix.cmi \