Github messages for voidlinux
 help / color / mirror / Atom feed
From: voidlinux-github@inbox.vuxu.org
To: ml@inbox.vuxu.org
Subject: [PR PATCH] mksh: fix template mistakes
Date: Fri, 12 Jul 2019 01:16:39 +0200	[thread overview]
Message-ID: <gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-13003@inbox.vuxu.org> (raw)

[-- Attachment #1: Type: text/plain, Size: 317 bytes --]

There is a new pull request by ratsalad70 against master on the void-packages repository

https://github.com/ratsalad70/void-packages master
https://github.com/void-linux/void-packages/pull/13003

mksh: fix template mistakes


A patch file from https://github.com/void-linux/void-packages/pull/13003.patch is attached

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-master-13003.patch --]
[-- Type: application/text/x-diff, Size: 993 bytes --]

From 3d0098b04bbed68b45cc8fca1fa1fd07e3188658 Mon Sep 17 00:00:00 2001
From: ratsalad70 <ratsalad70@users.noreply.github.com>
Date: Thu, 11 Jul 2019 23:15:16 +0000
Subject: [PATCH] Update template

---
 srcpkgs/mksh/template | 7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

diff --git a/srcpkgs/mksh/template b/srcpkgs/mksh/template
index 955912eee17..d4edbd21a21 100644
--- a/srcpkgs/mksh/template
+++ b/srcpkgs/mksh/template
@@ -1,7 +1,7 @@
 # Template file for 'mksh'
 pkgname=mksh
 version=R57
-revision=2
+revision=3
 wrksrc=mksh
 checkdepends="perl ed"
 short_desc="MirBSD Korn Shell"
@@ -21,14 +21,15 @@ alternatives="
 build_options="static"
 
 do_build() {
-	if [ "$build_option_static" ]; then
+	if [ "$build_option" = "static" ]; then
 		CFLAGS+=" -static"
 		LDFLAGS+=" -static"
 	fi
 	sh ./Build.sh -r
 	mkdir -p lksh
 	cd lksh
-	CPPFLAGS="$CPPFLAGS -DMKSH_BINSHPOSIX" sh ../Build.sh -L -r
+	CPPFLAGS="$CPPFLAGS -DMKSH_BINSHPOSIX"
+	sh ../Build.sh -L -r
 	cd ..
 }
 

             reply	other threads:[~2019-07-11 23:16 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-07-11 23:16 voidlinux-github [this message]
2019-07-11 23:18 ` [PR PATCH] [Closed]: " voidlinux-github
2019-07-11 23:22 [PR PATCH] " voidlinux-github

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=gh-mailinglist-notifications-41a7ca26-5023-4802-975b-f1789d68868e-void-packages-13003@inbox.vuxu.org \
    --to=voidlinux-github@inbox.vuxu.org \
    --cc=ml@inbox.vuxu.org \
    /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).