pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
ocaml: restore flambda option
Module Name: pkgsrc-wip
Committed By: Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By: wiz
Date: Mon Aug 25 20:21:10 2025 +0200
Changeset: 4164de05121352ef28f7ae95e0af7d7c65ac8f81
Modified Files:
ocaml/TODO
ocaml/options.mk
Log Message:
ocaml: restore flambda option
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=4164de05121352ef28f7ae95e0af7d7c65ac8f81
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
ocaml/TODO | 2 +-
ocaml/options.mk | 10 ++++++++--
2 files changed, 9 insertions(+), 3 deletions(-)
diffs:
diff --git a/ocaml/TODO b/ocaml/TODO
index 0ce8067137..85ee8baf77 100644
--- a/ocaml/TODO
+++ b/ocaml/TODO
@@ -2,7 +2,7 @@
- create COMMIT_MESSAGE
+ explain why *all* the patches in lang/ocaml are missing
+ explain PLIST changes
- + explain why pic and flambda options are being removed
+ + explain why pic option is being removed
- create meta-pkgs/bulk-test-ocaml and test
- examine unresolved upstream 5.x issues
+ https://github.com/ocaml/ocaml/issues/11913
diff --git a/ocaml/options.mk b/ocaml/options.mk
index e503db5d34..6ad6a3a9f6 100644
--- a/ocaml/options.mk
+++ b/ocaml/options.mk
@@ -1,11 +1,17 @@
# $NetBSD: options.mk,v 1.6 2022/05/24 18:25:38 jaapb Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.ocaml
-PKG_SUPPORTED_OPTIONS= test
-PKG_SUGGESTED_OPTIONS= test
+PKG_SUPPORTED_OPTIONS= flambda test
+PKG_SUGGESTED_OPTIONS= flambda test
.include "../../mk/bsd.options.mk"
+.if !empty(PKG_OPTIONS:Mflambda)
+CONFIGURE_ARGS+= --enable-flambda
+.else
+CONFIGURE_ARGS+= --disable-flambda
+.endif
+
.if !empty(PKG_OPTIONS:Mtest)
CONFIGURE_ARGS+= --enable-ocamltest
# test status as of 5.2.0
Home |
Main Index |
Thread Index |
Old Index