[libauthen-krb5-perl] 01/01: modify better-compiler-flags.patch to remove -L... from the output of krb5-config -libs
Damyan Ivanov
dmn at moszumanska.debian.org
Tue Jul 12 09:34:37 UTC 2016
This is an automated email from the git hooks/post-receive script.
dmn pushed a commit to branch master
in repository libauthen-krb5-perl.
commit 2b492342f82340507a80ac36a6cec9aaecc3a14b
Author: Damyan Ivanov <dmn at debian.org>
Date: Tue Jul 12 09:34:30 2016 +0000
modify better-compiler-flags.patch to remove -L... from the output of krb5-config -libs
avoids linking with (non existing) rpath. Thanks, lintian
---
debian/patches/better-compiler-flags | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/debian/patches/better-compiler-flags b/debian/patches/better-compiler-flags
index 9ff0147..0f5c0b2 100644
--- a/debian/patches/better-compiler-flags
+++ b/debian/patches/better-compiler-flags
@@ -8,7 +8,7 @@ Last-Update: 2011-04-10
--- a/Makefile.PL
+++ b/Makefile.PL
-@@ -18,22 +18,10 @@
+@@ -18,22 +18,10 @@ my $KRB5_EXTRAINCS = '';
##### DO NOT CHANGE ANYTHING BELOW HERE #####
@@ -28,7 +28,7 @@ Last-Update: 2011-04-10
'NAME' => 'Authen::Krb5',
'VERSION_FROM' => 'Krb5.pm',
- 'LIBS' => ["-L${KRB5_LIBDIR} -lkrb5 ${cryptolib} -lcom_err $KRB5_EXTRALIBS"],
-+ 'LIBS' => [`krb5-config --libs`],
++ 'LIBS' => [`krb5-config --libs|sed 's,-L\\S\\+,,'`],
'DEFINE' => '',
- 'INC' => "-I${KRB5_INCDIR} $KRB5_EXTRAINCS"
+ 'INC' => `krb5-config --cflags`
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-perl/packages/libauthen-krb5-perl.git
More information about the Pkg-perl-cvs-commits
mailing list