pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/sysutils/smartmontools smartmontools: avoid work direc...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/787191e2bc91
branches:  trunk
changeset: 382224:787191e2bc91
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sat Jul 23 15:18:17 2022 +0000

description:
smartmontools: avoid work directory references in binaries

pkg-config not used for anything but it's path gets encoded
into the binaries via the SMARTMONTOOLS_CONFIGURE_ARGS define.

diffstat:

 sysutils/smartmontools/distinfo         |   4 ++--
 sysutils/smartmontools/patches/patch-ag |  15 ++++++++++++---
 2 files changed, 14 insertions(+), 5 deletions(-)

diffs (39 lines):

diff -r 12cbf87c3dd8 -r 787191e2bc91 sysutils/smartmontools/distinfo
--- a/sysutils/smartmontools/distinfo   Sat Jul 23 15:09:49 2022 +0000
+++ b/sysutils/smartmontools/distinfo   Sat Jul 23 15:18:17 2022 +0000
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.40 2022/05/10 07:01:28 triaxx Exp $
+$NetBSD: distinfo,v 1.41 2022/07/23 15:18:17 tnn Exp $
 
 BLAKE2s (smartmontools-7.3.tar.gz) = fe02e8378d6a4b70b124df0627bef796f70f7f8000a614ad2f5b1a43549ccbe7
 SHA512 (smartmontools-7.3.tar.gz) = 08afe8b0a6a39e742160cd4e4c03fc7aff7b1ae8681b906360f0932277dc99e361b7606b2373bdf42425cf9453480a5f4344bc040ebc2fa26a03bd52f02a6ac0
 Size (smartmontools-7.3.tar.gz) = 1043932 bytes
 SHA1 (patch-aa) = c74f808d5e5d7530d7dda1871df70b46a3503ae3
-SHA1 (patch-ag) = 14f6def84df02af67b7669a8030e34e6f71b0d1c
+SHA1 (patch-ag) = 892ba81f7920fcd76288efdefadcf182b94d5e4f
diff -r 12cbf87c3dd8 -r 787191e2bc91 sysutils/smartmontools/patches/patch-ag
--- a/sysutils/smartmontools/patches/patch-ag   Sat Jul 23 15:09:49 2022 +0000
+++ b/sysutils/smartmontools/patches/patch-ag   Sat Jul 23 15:18:17 2022 +0000
@@ -1,10 +1,19 @@
-$NetBSD: patch-ag,v 1.7 2022/05/10 07:01:28 triaxx Exp $
+$NetBSD: patch-ag,v 1.8 2022/07/23 15:18:17 tnn Exp $
 
 Match x86 SunOS platforms correctly.
 Remove os_solaris=yes to avoid special man page section handling (PR 38199).
 
---- configure.orig     2016-05-07 11:18:29.000000000 +0000
-+++ configure  2016-05-08 06:41:03.000000000 +0000
+--- configure.orig     2022-02-28 16:34:39.000000000 +0000
++++ configure
+@@ -3633,7 +3633,7 @@ smartmontools_release_date=2022-02-28
+ smartmontools_release_time="16:33:40 UTC"
+ 
+ 
+-printf "%s\n" "#define SMARTMONTOOLS_CONFIGURE_ARGS \"$ac_configure_args\"" >>confdefs.h
++printf "%s\n" "#define SMARTMONTOOLS_CONFIGURE_ARGS \"$(echo $ac_configure_args | sed -e "s/ 'PKG_CONFIG[_A-Z]*=[^']*'//g")\"" >>confdefs.h
+ 
+ 
+ printf "%s\n" "#define SMARTMONTOOLS_RELEASE_DATE \"$smartmontools_release_date\"" >>confdefs.h
 @@ -7707,13 +7707,11 @@ fi
      test "$with_solaris_sparc_ata" = "yes" \
        && os_deps="$os_deps os_solaris_ata.o"



Home | Main Index | Thread Index | Old Index