mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-08 03:44:13 -04:00
27 lines
1.1 KiB
Plaintext
27 lines
1.1 KiB
Plaintext
$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 2016-04-01 12:53:41.000000000 +0000
|
|
+++ otherlibs/threads/Makefile
|
|
@@ -109,14 +109,14 @@ INSTALL_STUBLIBDIR=$(DESTDIR)$(STUBLIBDI
|
|
|
|
install:
|
|
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) -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 \
|
|
+ $(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:
|