pkgsrc-Changes archive

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

CVS commit: pkgsrc/net/p5-Net-LibIDN



Module Name:    pkgsrc
Committed By:   nia
Date:           Mon Mar 18 11:50:49 UTC 2024

Modified Files:
        pkgsrc/net/p5-Net-LibIDN: Makefile distinfo
        pkgsrc/net/p5-Net-LibIDN/patches: patch-aa

Log Message:
p5-Net-LibIDN: Do not hardcode COMPILER_RPATH_FLAG in patch


To generate a diff of this commit:
cvs rdiff -u -r1.25 -r1.26 pkgsrc/net/p5-Net-LibIDN/Makefile
cvs rdiff -u -r1.7 -r1.8 pkgsrc/net/p5-Net-LibIDN/distinfo
cvs rdiff -u -r1.4 -r1.5 pkgsrc/net/p5-Net-LibIDN/patches/patch-aa

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/net/p5-Net-LibIDN/Makefile
diff -u pkgsrc/net/p5-Net-LibIDN/Makefile:1.25 pkgsrc/net/p5-Net-LibIDN/Makefile:1.26
--- pkgsrc/net/p5-Net-LibIDN/Makefile:1.25      Thu Jul  6 09:41:09 2023
+++ pkgsrc/net/p5-Net-LibIDN/Makefile   Mon Mar 18 11:50:49 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.25 2023/07/06 09:41:09 wiz Exp $
+# $NetBSD: Makefile,v 1.26 2024/03/18 11:50:49 nia Exp $
 
 DISTNAME=      Net-LibIDN-0.12
 PKGNAME=       p5-${DISTNAME}
@@ -16,6 +16,11 @@ MAKE_PARAMS.makemaker+=      --with-libidn-in
 
 PERL5_PACKLIST=                auto/Net/LibIDN/.packlist
 
+SUBST_CLASSES+=                rpath
+SUBST_STAGE.rpath=     pre-configure
+SUBST_FILES.rpath+=    Makefile.PL
+SUBST_VARS.rpath+=     COMPILER_RPATH_FLAG
+
 .include "../../devel/libidn/buildlink3.mk"
 .include "../../lang/perl5/module.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/net/p5-Net-LibIDN/distinfo
diff -u pkgsrc/net/p5-Net-LibIDN/distinfo:1.7 pkgsrc/net/p5-Net-LibIDN/distinfo:1.8
--- pkgsrc/net/p5-Net-LibIDN/distinfo:1.7       Tue Oct 26 11:06:21 2021
+++ pkgsrc/net/p5-Net-LibIDN/distinfo   Mon Mar 18 11:50:49 2024
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.7 2021/10/26 11:06:21 nia Exp $
+$NetBSD: distinfo,v 1.8 2024/03/18 11:50:49 nia Exp $
 
 BLAKE2s (Net-LibIDN-0.12.tar.gz) = 6ff28a9d76c339acae2d47755df09a566492f9a71a8091477c25954719e0f481
 SHA512 (Net-LibIDN-0.12.tar.gz) = 2c80d0e3d4635e225e8866a1ef6335e3b8642662101e89fde6529aa07acc1eaf8adbe20fadd1d44898651f9d67a3d00c11ff71a22a2aa3027e81643e700d79ee
 Size (Net-LibIDN-0.12.tar.gz) = 14262 bytes
-SHA1 (patch-aa) = 71f762435abb1ba5d772f2a15655cebe124bd9b7
+SHA1 (patch-aa) = 87cf297fce059533cfe570b727b27f712a62af41

Index: pkgsrc/net/p5-Net-LibIDN/patches/patch-aa
diff -u pkgsrc/net/p5-Net-LibIDN/patches/patch-aa:1.4 pkgsrc/net/p5-Net-LibIDN/patches/patch-aa:1.5
--- pkgsrc/net/p5-Net-LibIDN/patches/patch-aa:1.4       Thu Jan  3 20:48:47 2013
+++ pkgsrc/net/p5-Net-LibIDN/patches/patch-aa   Mon Mar 18 11:50:49 2024
@@ -1,4 +1,4 @@
-$NetBSD: patch-aa,v 1.4 2013/01/03 20:48:47 dholland Exp $
+$NetBSD: patch-aa,v 1.5 2024/03/18 11:50:49 nia Exp $
 
 Use both the LDFLAGS from Perl and the directory passed from the
 pkgsrc makefile to find libidn.
@@ -20,7 +20,7 @@ pkgsrc makefile to find libidn.
 -
 +      $Params{LIBS} = "";
 +      $Params{LIBS} .= "-L$libdir " if ($libdir);
-+      $Params{LIBS} .= "-Wl,-R$libdir " if ($libdir);
++      $Params{LIBS} .= "@COMPILER_RPATH_FLAG@$libdir " if ($libdir);
 +      $Params{LIBS} .= $Config{ldflags};
 +      $Params{LIBS} .= " -lidn";
 +      



Home | Main Index | Thread Index | Old Index