ntg-context - mailing list for ConTeXt users
 help / color / mirror / Atom feed
From: Damien Thiriet <damien@thiriet.web4me.fr>
To: ntg-context@ntg.nl
Subject: Re: troubles when installing OpenBSD 64 binaries (install.sh?)
Date: Sat, 14 Nov 2020 21:23:24 +0100	[thread overview]
Message-ID: <20201114202324.GA45297@valencay.home> (raw)

Hi Hans, 

Thanks for your answer.
I patched install.sh that way


*** install.sh	Fri Nov 13 19:14:48 2020
--- /usr/local/context/install.sh	Sat Nov 14 20:58:00 2020
***************
*** 100,105 ****
--- 100,111 ----
     fi
  fi
  
+ if  test "$SYSTEM" = "OpenBSD" ; then
+    if test $(grep -c $(uname -r) $PWD/bin/mtx-install.lua)="0"; then
+       sed -i "/openbsd/s/[0-9]\.[0-9]/$(uname -r)/" $PWD/bin/mtx-install.lua
+    fi
+ fi
+ 
  $PWD/bin/mtxrun --script ./bin/mtx-install.lua --update --server="$LMTXSERVER" --instance="$LMTXINSTANCE" --platform="$PLATFORM" --erase --extras="$LMTXEXTRAS"
  
  cp $PWD/tex/texmf-$PLATFORM/bin/mtxrun                        $PWD/bin/mtxrun

I thought this patch might be usefull upstream.
It succeeds in patching mtx-install.lua (I checked commenting
all the lines below my patch) but somewhere during the install process,
this patched $PWD/bin/mtx-install.lua is replaced by the original one
and install fails.

What else should I do?

Best regards,

Damien Thiriet 
___________________________________________________________________________________
If your question is of interest to others as well, please add an entry to the Wiki!

maillist : ntg-context@ntg.nl / http://www.ntg.nl/mailman/listinfo/ntg-context
webpage  : http://www.pragma-ade.nl / http://context.aanhet.net
archive  : https://bitbucket.org/phg/context-mirror/commits/
wiki     : http://contextgarden.net
___________________________________________________________________________________

             reply	other threads:[~2020-11-14 20:23 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-14 20:23 Damien Thiriet [this message]
2020-11-15 11:44 ` Hans Hagen
  -- strict thread matches above, loose matches on Subject: below --
2020-11-14 12:47 Damien Thiriet
2020-11-14 13:38 ` Hans Hagen
2020-11-07 16:32 Damien Thiriet

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201114202324.GA45297@valencay.home \
    --to=damien@thiriet.web4me.fr \
    --cc=ntg-context@ntg.nl \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).