23 lines
1.1 KiB
Plaintext
23 lines
1.1 KiB
Plaintext
$NetBSD: patch-otherlibs_threads_Makefile,v 1.5 2015/07/04 09:29:48 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
|
|
@@ -106,12 +106,12 @@ INSTALL_STUBLIBDIR=$(DESTDIR)$(STUBLIBDI
|
|
|
|
install:
|
|
if test -f dllvmthreads.so; then cp 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) 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 \
|
|
+ $(BSD_INSTALL_DATA) thread.cmi mutex.cmi condition.cmi event.cmi threadUnix.cmi \
|
|
threads.cma stdlib.cma unix.cma $(INSTALL_LIBDIR)/vmthreads
|
|
- cp thread.mli mutex.mli condition.mli event.mli threadUnix.mli \
|
|
+ $(BSD_INSTALL_DATA) thread.mli mutex.mli condition.mli event.mli threadUnix.mli \
|
|
$(INSTALL_LIBDIR)/vmthreads
|
|
|
|
installopt:
|