pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/lang/ocaml Move raw_spacetime_lib components to a sepa...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/83ddb3cd260f
branches:  trunk
changeset: 360183:83ddb3cd260f
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Mon Mar 27 11:51:30 2017 +0000

description:
Move raw_spacetime_lib components to a separate PLIST file, they are only
built for native 64-bit targets.

diffstat:

 lang/ocaml/Makefile            |  7 ++++++-
 lang/ocaml/PLIST               |  5 +----
 lang/ocaml/PLIST.opt           |  6 +-----
 lang/ocaml/PLIST.raw_spacetime |  8 ++++++++
 4 files changed, 16 insertions(+), 10 deletions(-)

diffs (72 lines):

diff -r e42d6acbe157 -r 83ddb3cd260f lang/ocaml/Makefile
--- a/lang/ocaml/Makefile       Sun Mar 26 20:14:26 2017 +0000
+++ b/lang/ocaml/Makefile       Mon Mar 27 11:51:30 2017 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.106 2016/12/30 11:15:00 jaapb Exp $
+# $NetBSD: Makefile,v 1.107 2017/03/27 11:51:30 jperkin Exp $
 
 .include "Makefile.common"
 
@@ -55,6 +55,11 @@
 .  endif
 .endif
 
+# Spacetime profiling is only available for native code on 64-bit targets.
+.if ${MACHINE_ARCH} == "x86_64"
+PLIST_SRC+=    ${PKGDIR}/PLIST.raw_spacetime
+.endif
+
 # Common ocaml files.
 PLIST_SRC+=    ${PKGDIR}/PLIST
 
diff -r e42d6acbe157 -r 83ddb3cd260f lang/ocaml/PLIST
--- a/lang/ocaml/PLIST  Sun Mar 26 20:14:26 2017 +0000
+++ b/lang/ocaml/PLIST  Mon Mar 27 11:51:30 2017 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.37 2017/03/23 18:23:58 jperkin Exp $
+@comment $NetBSD: PLIST,v 1.38 2017/03/27 11:51:30 jperkin Exp $
 bin/ocaml
 bin/ocamlc
 bin/ocamlc.byte
@@ -1190,9 +1190,6 @@
 lib/ocaml/random.mli
 lib/ocaml/ratio.cmi
 lib/ocaml/ratio.mli
-lib/ocaml/raw_spacetime_lib.cma
-lib/ocaml/raw_spacetime_lib.cmi
-lib/ocaml/raw_spacetime_lib.mli
 lib/ocaml/scanf.cmi
 lib/ocaml/scanf.cmt
 lib/ocaml/scanf.cmti
diff -r e42d6acbe157 -r 83ddb3cd260f lang/ocaml/PLIST.opt
--- a/lang/ocaml/PLIST.opt      Sun Mar 26 20:14:26 2017 +0000
+++ b/lang/ocaml/PLIST.opt      Mon Mar 27 11:51:30 2017 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST.opt,v 1.26 2016/12/30 11:15:00 jaapb Exp $
+@comment $NetBSD: PLIST.opt,v 1.27 2017/03/27 11:51:30 jperkin Exp $
 bin/ocamlc.opt
 bin/ocamlcp.opt
 bin/ocamldep.opt
@@ -280,10 +280,6 @@
 lib/ocaml/queue.cmx
 lib/ocaml/random.cmx
 lib/ocaml/ratio.cmx
-lib/ocaml/raw_spacetime_lib.a
-lib/ocaml/raw_spacetime_lib.cmx
-lib/ocaml/raw_spacetime_lib.cmxa
-lib/ocaml/raw_spacetime_lib.cmxs
 lib/ocaml/scanf.cmx
 lib/ocaml/set.cmx
 lib/ocaml/sort.cmx
diff -r e42d6acbe157 -r 83ddb3cd260f lang/ocaml/PLIST.raw_spacetime
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/ocaml/PLIST.raw_spacetime    Mon Mar 27 11:51:30 2017 +0000
@@ -0,0 +1,8 @@
+@comment $NetBSD: PLIST.raw_spacetime,v 1.1 2017/03/27 11:51:30 jperkin Exp $
+lib/ocaml/raw_spacetime_lib.a
+lib/ocaml/raw_spacetime_lib.cma
+lib/ocaml/raw_spacetime_lib.cmi
+lib/ocaml/raw_spacetime_lib.cmx
+lib/ocaml/raw_spacetime_lib.cmxa
+lib/ocaml/raw_spacetime_lib.cmxs
+lib/ocaml/raw_spacetime_lib.mli



Home | Main Index | Thread Index | Old Index