From 5634c1deffbfe3ee10818d92547075dfd1870adb Mon Sep 17 00:00:00 2001 From: jca Date: Mon, 1 Feb 2021 21:48:36 +0000 Subject: [PATCH] Document MODOCAML_RUNDEP ok bket@ sthen@ (who initially suggested the if-not-native value under a similar name) --- share/man/man5/port-modules.5 | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) diff --git a/share/man/man5/port-modules.5 b/share/man/man5/port-modules.5 index 4ed13f2e543..c2d9f666bf3 100644 --- a/share/man/man5/port-modules.5 +++ b/share/man/man5/port-modules.5 @@ -1,4 +1,4 @@ -.\" $OpenBSD: port-modules.5,v 1.251 2021/01/25 14:02:18 sthen Exp $ +.\" $OpenBSD: port-modules.5,v 1.252 2021/02/01 21:48:36 jca Exp $ .\" .\" Copyright (c) 2008 Marc Espie .\" @@ -24,7 +24,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.Dd $Mdocdate: January 25 2021 $ +.Dd $Mdocdate: February 1 2021 $ .Dt PORT-MODULES 5 .Os .Sh NAME @@ -1309,7 +1309,13 @@ Appends to .Ev BUILD_DEPENDS and .Ev MAKE_ENV . -This selects a %%native%% plist fragment and +Appends to +.Ev RUN_DEPENDS +unless +.Ev MODOCAML_RUNDEP +is set to No, or set to if-not-native and native compilation +is supported on this architecture. +Including this module selects a %%native%% plist fragment and .Ev ocaml_native property depending on whether the architecture supports native compilation. -- 2.20.1