mirror of
https://github.com/Stichting-MINIX-Research-Foundation/pkgsrc-ng.git
synced 2025-09-10 04:50:03 -04:00
23 lines
1009 B
Plaintext
23 lines
1009 B
Plaintext
$NetBSD: patch-otherlibs_threads_Makefile,v 1.3 2013/11/01 10:47:50 jaapb Exp $
|
|
|
|
Use BSD_INSTALL_* instead of mkdir and cp
|
|
--- otherlibs/threads/Makefile.orig 2013-07-23 14:48:47.000000000 +0000
|
|
+++ otherlibs/threads/Makefile
|
|
@@ -97,12 +97,12 @@ clean: partialclean
|
|
|
|
install:
|
|
if test -f dllvmthreads.so; then cp dllvmthreads.so $(STUBLIBDIR)/.; fi
|
|
- mkdir -p $(LIBDIR)/vmthreads
|
|
- cp libvmthreads.a $(LIBDIR)/vmthreads/libvmthreads.a
|
|
+ $(BSD_INSTALL_DATA_DIR) -p $(LIBDIR)/vmthreads
|
|
+ $(BSD_INSTALL_DATA) libvmthreads.a $(LIBDIR)/vmthreads/libvmthreads.a
|
|
cd $(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 $(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 \
|
|
$(LIBDIR)/vmthreads
|
|
|
|
installopt:
|