Github messages for voidlinux
 help / color / mirror / Atom feed
* [PR PATCH] libjpeg-turbo: ensure that libjpeg-turboTargets-none.cmake is relocatable
@ 2023-10-12 20:07 Johnnynator
  2023-10-13  4:26 ` [PR REVIEW] " sgn
                   ` (3 more replies)
  0 siblings, 4 replies; 5+ messages in thread
From: Johnnynator @ 2023-10-12 20:07 UTC (permalink / raw)
  To: ml

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

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

https://github.com/Johnnynator/void-packages libjpegturbo
https://github.com/void-linux/void-packages/pull/46644

libjpeg-turbo: ensure that libjpeg-turboTargets-none.cmake is relocatable
specifying the full path in INSTALL_LIBDIR will result in it being
hardcoded in the Targets-none.cmake instead of being repalce with
_IMPORT_PREFIX


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

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

From c3a33e43692df4d18d615e827404e9d3fee58bdd Mon Sep 17 00:00:00 2001
From: John <me@johnnynator.dev>
Date: Thu, 12 Oct 2023 21:57:31 +0200
Subject: [PATCH] libjpeg-turbo: ensure that libjpeg-turboTargets-none.cmake is
 relocatable

specifying the full path in INSTALL_LIBDIR will result in it being
hardcoded in the Targets-none.cmake instead of being repalce with
_IMPORT_PREFIX
---
 srcpkgs/libjpeg-turbo/template | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/srcpkgs/libjpeg-turbo/template b/srcpkgs/libjpeg-turbo/template
index 3c73aeb9b89f2..8e7ddca85f1d0 100644
--- a/srcpkgs/libjpeg-turbo/template
+++ b/srcpkgs/libjpeg-turbo/template
@@ -1,9 +1,9 @@
 # Template file for 'libjpeg-turbo'
 pkgname=libjpeg-turbo
 version=2.1.5.1
-revision=1
+revision=2
 build_style=cmake
-configure_args="-DWITH_JPEG8=1 -DCMAKE_INSTALL_LIBDIR=/usr/lib"
+configure_args="-DWITH_JPEG8=1 -DCMAKE_INSTALL_LIBDIR:PATH=lib${XBPS_TARGET_WORDSIZE}"
 hostmakedepends="yasm"
 short_desc="Derivative of libjpeg which uses SIMD instructions"
 maintainer="Orphaned <orphan@voidlinux.org>"

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

end of thread, other threads:[~2023-10-14  8:22 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2023-10-12 20:07 [PR PATCH] libjpeg-turbo: ensure that libjpeg-turboTargets-none.cmake is relocatable Johnnynator
2023-10-13  4:26 ` [PR REVIEW] " sgn
2023-10-13  5:51 ` Johnnynator
2023-10-13 15:34 ` [PR PATCH] [Updated] " Johnnynator
2023-10-14  8:22 ` [PR PATCH] [Merged]: " Johnnynator

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