diff options
author | jperkin <jperkin@pkgsrc.org> | 2017-03-27 11:51:30 +0000 |
---|---|---|
committer | jperkin <jperkin@pkgsrc.org> | 2017-03-27 11:51:30 +0000 |
commit | 11acf1fc16a68694b2351ddcb8c244b07297619a (patch) | |
tree | bfcf31a337e5a850e22567d050e18067a127ac97 /lang/ocaml | |
parent | bb52d55a3aae8a7322dad39eda63bd16766973b1 (diff) | |
download | pkgsrc-11acf1fc16a68694b2351ddcb8c244b07297619a.tar.gz |
Move raw_spacetime_lib components to a separate PLIST file, they are only
built for native 64-bit targets.
Diffstat (limited to 'lang/ocaml')
-rw-r--r-- | lang/ocaml/Makefile | 7 | ||||
-rw-r--r-- | lang/ocaml/PLIST | 5 | ||||
-rw-r--r-- | lang/ocaml/PLIST.opt | 6 | ||||
-rw-r--r-- | lang/ocaml/PLIST.raw_spacetime | 8 |
4 files changed, 16 insertions, 10 deletions
diff --git a/lang/ocaml/Makefile b/lang/ocaml/Makefile index 63d02368a5c..b0d7dc751a0 100644 --- a/lang/ocaml/Makefile +++ b/lang/ocaml/Makefile @@ -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 @@ PLIST_SRC+= ${PKGDIR}/PLIST.natdynlink . 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 --git a/lang/ocaml/PLIST b/lang/ocaml/PLIST index 1e55128275d..52cc09c4d91 100644 --- a/lang/ocaml/PLIST +++ b/lang/ocaml/PLIST @@ -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.ml 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 --git a/lang/ocaml/PLIST.opt b/lang/ocaml/PLIST.opt index 1dea0c9bf5f..50d16d8fbce 100644 --- a/lang/ocaml/PLIST.opt +++ b/lang/ocaml/PLIST.opt @@ -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/profiling.cmx 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 --git a/lang/ocaml/PLIST.raw_spacetime b/lang/ocaml/PLIST.raw_spacetime new file mode 100644 index 00000000000..318c9018971 --- /dev/null +++ b/lang/ocaml/PLIST.raw_spacetime @@ -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 |