Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] texlive-bin: make the broken= actually work
@ 2019-10-10 15:57 voidlinux-github
  2019-10-11  6:24 ` [PR PATCH] [Merged]: " voidlinux-github
  0 siblings, 1 reply; 2+ messages in thread
From: voidlinux-github @ 2019-10-10 15:57 UTC (permalink / raw)
  To: ml

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

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

https://github.com/void-ppc/void-packages texlive-bin
https://github.com/void-linux/void-packages/pull/15296

texlive-bin: make the broken= actually work
`xbps-src` will ignore it if it's stuffed in `do_install` like that.

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

[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: github-pr-texlive-bin-15296.patch --]
[-- Type: text/x-diff, Size: 1377 bytes --]

From b8b1d48369d317e55c5e0db7425fa3f8cdaf3b19 Mon Sep 17 00:00:00 2001
From: q66 <daniel@octaforge.org>
Date: Thu, 10 Oct 2019 17:42:56 +0200
Subject: [PATCH] texlive-bin: make the broken= actually work

[ci skip]
---
 srcpkgs/texlive-bin/template | 19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

diff --git a/srcpkgs/texlive-bin/template b/srcpkgs/texlive-bin/template
index da83344e453..ecf0cebc83e 100644
--- a/srcpkgs/texlive-bin/template
+++ b/srcpkgs/texlive-bin/template
@@ -9,16 +9,17 @@ license="GPL-2"
 homepage="http://tug.org/texlive/"
 provides="texlive-${version}_${revision}"
 
+case "$XBPS_TARGET_MACHINE" in
+	i686) _tlarch=i386-linux;;
+	x86_64) _tlarch=x86_64-linux;;
+	x86_64-musl) _tlarch=x86_64-linuxmusl;;
+	arm*) _tlarch=armhf-linux;;
+	aarch64) _tlarch=aarch64-linux;;
+	*) broken="$XBPS_TARGET_MACHINE is not supported";;
+esac
+
 do_install() {
 	vmkdir etc/profile.d
-	case "$XBPS_TARGET_MACHINE" in
-		i686) tlarch=i386-linux;;
-		x86_64) tlarch=x86_64-linux;;
-		x86_64-musl) tlarch=x86_64-linuxmusl;;
-		arm*) tlarch=armhf-linux;;
-		aarch64) tlarch=aarch64-linux;;
-		*) broken="$XBPS_TARGET_MACHINE is not supported";;
-	esac
-	sed -e "s/@@ARCH@@/${tlarch}/; s/@@VERSION@@/${version}/" \
+	sed -e "s/@@ARCH@@/${_tlarch}/; s/@@VERSION@@/${version}/" \
 		${FILESDIR}/texlive.sh >${DESTDIR}/etc/profile.d/texlive.sh
 }

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [PR PATCH] [Merged]: texlive-bin: make the broken= actually work
  2019-10-10 15:57 [PR PATCH] texlive-bin: make the broken= actually work voidlinux-github
@ 2019-10-11  6:24 ` voidlinux-github
  0 siblings, 0 replies; 2+ messages in thread
From: voidlinux-github @ 2019-10-11  6:24 UTC (permalink / raw)
  To: ml

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

There's a merged pull request on the void-packages repository

texlive-bin: make the broken= actually work
https://github.com/void-linux/void-packages/pull/15296

Description:
`xbps-src` will ignore it if it's stuffed in `do_install` like that.

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2019-10-11  6:24 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-10-10 15:57 [PR PATCH] texlive-bin: make the broken= actually work voidlinux-github
2019-10-11  6:24 ` [PR PATCH] [Merged]: " voidlinux-github

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).