summaryrefslogtreecommitdiff
path: root/devel/ocaml-findlib/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'devel/ocaml-findlib/Makefile')
-rw-r--r--devel/ocaml-findlib/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/devel/ocaml-findlib/Makefile b/devel/ocaml-findlib/Makefile
index 5d8a8198aeb..503ebe7bd84 100644
--- a/devel/ocaml-findlib/Makefile
+++ b/devel/ocaml-findlib/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.31 2016/12/30 11:16:58 jaapb Exp $
+# $NetBSD: Makefile,v 1.32 2017/04/24 21:47:47 maya Exp $
DISTNAME= findlib-1.7.1
PKGNAME= ocaml-${DISTNAME}
@@ -16,6 +16,13 @@ OCAML_FINDLIB_DIRS+= bigarray bytes compiler-libs dynlink findlib graphics \
.include "../../mk/ocaml.mk"
+# spacetime profiling is only available for native code on 64bit platforms
+PLIST_VARS+= 64bit
+.if !empty(LP64PLATFORMS:@.PLAT.@${MACHINE_PLATFORM:M${.PLAT.}}@) || \
+ (defined(ABI) && ${ABI} == "64")
+PLIST.64bit= yes
+.endif
+
# Undeclared dependencies between different components
MAKE_JOBS_SAFE= no