Import of pkgsrc-2015Q3
This commit is contained in:
@@ -1,14 +1,25 @@
|
||||
$NetBSD: patch-stdlib_Makefile.shared,v 1.2 2014/10/09 19:08:28 jaapb Exp $
|
||||
$NetBSD: patch-stdlib_Makefile.shared,v 1.4 2015/08/07 11:16:30 jaapb Exp $
|
||||
|
||||
Use BSD_INSTALL_* instead of mkdir and cp
|
||||
--- stdlib/Makefile.shared.orig 2014-05-12 15:37:29.000000000 +0000
|
||||
--- stdlib/Makefile.shared.orig 2015-07-20 14:10:11.000000000 +0000
|
||||
+++ stdlib/Makefile.shared
|
||||
@@ -42,7 +42,7 @@ all: stdlib.cma std_exit.cmo camlheader
|
||||
@@ -45,16 +45,16 @@ all: stdlib.cma std_exit.cmo camlheader
|
||||
INSTALL_LIBDIR=$(DESTDIR)$(LIBDIR)
|
||||
|
||||
install: install-$(RUNTIMED)
|
||||
- cp stdlib.cma std_exit.cmo *.cmi *.mli *.ml camlheader camlheader_ur \
|
||||
+ $(BSD_INSTALL_DATA) stdlib.cma std_exit.cmo *.cmi *.mli *.ml camlheader camlheader_ur \
|
||||
- cp stdlib.cma std_exit.cmo *.cmi *.cmt *.cmti *.mli *.ml \
|
||||
+ $(BSD_INSTALL_DATA) stdlib.cma std_exit.cmo *.cmi *.cmt *.cmti *.mli *.ml \
|
||||
camlheader_ur \
|
||||
$(INSTALL_LIBDIR)
|
||||
- cp target_camlheader $(INSTALL_LIBDIR)/camlheader
|
||||
+ $(BSD_INSTALL_DATA) target_camlheader $(INSTALL_LIBDIR)/camlheader
|
||||
|
||||
install-noruntimed:
|
||||
.PHONY: install-noruntimed
|
||||
|
||||
install-runtimed: target_camlheaderd
|
||||
- cp target_camlheaderd $(INSTALL_LIBDIR)/camlheaderd
|
||||
+ $(BSD_INSTALL_DATA) target_camlheaderd $(INSTALL_LIBDIR)/camlheaderd
|
||||
.PHONY: install-runtimed
|
||||
|
||||
stdlib.cma: $(OBJS)
|
||||
|
||||
Reference in New Issue
Block a user