pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils/file Also set DYLD_LIBRARY_PATH=. (in additio...
details: https://anonhg.NetBSD.org/pkgsrc/rev/8fcf38e7d00a
branches: trunk
changeset: 372721:8fcf38e7d00a
user: schmonz <schmonz%pkgsrc.org@localhost>
date: Sat Jan 29 13:06:25 2022 +0000
description:
Also set DYLD_LIBRARY_PATH=. (in addition to LD_PRELOAD) when generating
magic. Fixes build on macOS (Monterey and Snow Leopard tested) when file
is not already installed.
diffstat:
sysutils/file/distinfo | 4 ++--
sysutils/file/patches/patch-magic_myfile | 6 +++---
2 files changed, 5 insertions(+), 5 deletions(-)
diffs (36 lines):
diff -r 04a32566ecc7 -r 8fcf38e7d00a sysutils/file/distinfo
--- a/sysutils/file/distinfo Sat Jan 29 11:03:58 2022 +0000
+++ b/sysutils/file/distinfo Sat Jan 29 13:06:25 2022 +0000
@@ -1,9 +1,9 @@
-$NetBSD: distinfo,v 1.41 2021/12/27 23:25:08 schmonz Exp $
+$NetBSD: distinfo,v 1.42 2022/01/29 13:06:25 schmonz Exp $
BLAKE2s (file-5.40.tar.gz) = 81709bb3abd39d4eea0e8d93966f162496d89e5bfc7f9e88d6be31b86dd5ed75
SHA512 (file-5.40.tar.gz) = 3b70df75fa4c9050d55b1ffdc28e5f3c8b8ef7d4efd1a06bf53f113b676d81114a85aae56e0897d32b53716662d64ad18ab251ca8c92c6405c69eb758bb99afb
Size (file-5.40.tar.gz) = 1004214 bytes
SHA1 (patch-aa) = df1206c65ebbffca766ad77f7d98f8caa26a8b1c
SHA1 (patch-magic_Makefile.in) = 7870ab84573b2d2ce4b774083f073c620ba6f5d1
-SHA1 (patch-magic_myfile) = a977950ad98fd633aae6dec8357353a5b5ceee9d
+SHA1 (patch-magic_myfile) = a7c4621a661b3bf423d350641f052318c489c4bc
SHA1 (patch-src_fsmagic.c) = f862c5335bc3c6b0d39dfcdfd79e2d99407e40f5
diff -r 04a32566ecc7 -r 8fcf38e7d00a sysutils/file/patches/patch-magic_myfile
--- a/sysutils/file/patches/patch-magic_myfile Sat Jan 29 11:03:58 2022 +0000
+++ b/sysutils/file/patches/patch-magic_myfile Sat Jan 29 13:06:25 2022 +0000
@@ -1,8 +1,8 @@
-$NetBSD: patch-magic_myfile,v 1.1 2021/12/27 23:25:08 schmonz Exp $
+$NetBSD: patch-magic_myfile,v 1.2 2022/01/29 13:06:26 schmonz Exp $
Use the just-built libmagic, not whatever might be already installed.
---- magic/myfile.orig 2021-12-27 21:10:43.590323858 +0000
+--- magic/myfile.orig 2022-01-29 13:08:32.000000000 +0000
+++ magic/myfile
@@ -0,0 +1,8 @@
+#!@SH@
@@ -11,5 +11,5 @@
+
+magicdir=$(pwd)
+cd ../src/.libs
-+LD_PRELOAD=./libmagic.so.1 ./file -C -m "${magicdir}/$1"
++DYLD_LIBRARY_PATH=. LD_PRELOAD=./libmagic.so.1 ./file -C -m "${magicdir}/$1"
+cp magic.mgc ${magicdir}
Home |
Main Index |
Thread Index |
Old Index