pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
ocaml: restore pic option for testing
Module Name: pkgsrc-wip
Committed By: Thomas Klausner <wiz%NetBSD.org@localhost>
Pushed By: wiz
Date: Fri Aug 29 02:19:58 2025 +0200
Changeset: 4152bfa420f969e71566b07d1002eb60a5d4ca84
Modified Files:
ocaml/options.mk
Log Message:
ocaml: restore pic option for testing
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=4152bfa420f969e71566b07d1002eb60a5d4ca84
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
ocaml/options.mk | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diffs:
diff --git a/ocaml/options.mk b/ocaml/options.mk
index 6ad6a3a9f6..b1dff08f6e 100644
--- a/ocaml/options.mk
+++ b/ocaml/options.mk
@@ -1,8 +1,8 @@
# $NetBSD: options.mk,v 1.6 2022/05/24 18:25:38 jaapb Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.ocaml
-PKG_SUPPORTED_OPTIONS= flambda test
-PKG_SUGGESTED_OPTIONS= flambda test
+PKG_SUPPORTED_OPTIONS= flambda pic test
+PKG_SUGGESTED_OPTIONS= flambda pic test
.include "../../mk/bsd.options.mk"
@@ -12,6 +12,12 @@ CONFIGURE_ARGS+= --enable-flambda
CONFIGURE_ARGS+= --disable-flambda
.endif
+.if !empty(PKG_OPTIONS:Mpic)
+CONFIGURE_ARGS+= --with-pic
+.else
+CONFIGURE_ARGS+= --without-pic
+.endif
+
.if !empty(PKG_OPTIONS:Mtest)
CONFIGURE_ARGS+= --enable-ocamltest
# test status as of 5.2.0
Home |
Main Index |
Thread Index |
Old Index