summaryrefslogtreecommitdiff
path: root/lang/ocaml/Makefile
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2017-03-27 11:51:30 +0000
committerjperkin <jperkin@pkgsrc.org>2017-03-27 11:51:30 +0000
commit11acf1fc16a68694b2351ddcb8c244b07297619a (patch)
treebfcf31a337e5a850e22567d050e18067a127ac97 /lang/ocaml/Makefile
parentbb52d55a3aae8a7322dad39eda63bd16766973b1 (diff)
downloadpkgsrc-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/Makefile')
-rw-r--r--lang/ocaml/Makefile7
1 files changed, 6 insertions, 1 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