Fix missing RPATH for security/libprelude-perl, bumping PKGREVISION 'cause

it modifies resulting shared object and regardless it worked before or not,
it should be rebuild.
This commit is contained in:
sno 2013-06-30 11:35:23 +00:00
parent e51635bba0
commit c38fda8df4
4 changed files with 24 additions and 6 deletions

View file

@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.9 2013/05/31 12:41:51 wiz Exp $
# $NetBSD: Makefile,v 1.10 2013/06/30 11:35:23 sno Exp $
PKGNAME= libprelude-perl-${VERSION}
PKGREVISION= 6
PKGREVISION= 7
COMMENT= Perl bindings to LibPrelude
.include "../../security/libprelude/Makefile.common"

View file

@ -1,4 +1,4 @@
$NetBSD: distinfo,v 1.35 2013/04/12 13:45:48 joerg Exp $
$NetBSD: distinfo,v 1.36 2013/06/30 11:35:23 sno Exp $
SHA1 (libprelude-0.9.24.1.tar.gz) = b8c0c43efb33f3da741feac59b7a5482adf56282
RMD160 (libprelude-0.9.24.1.tar.gz) = 0a2688cf5c44e834c07eaba36d333155b2ca226d
@ -9,12 +9,13 @@ SHA1 (patch-ac) = 7474b2cf8cbb7fca81d85fe7c575f8ca99f90a43
SHA1 (patch-ad) = 195228e1e04918275a3ab1cccb838de081a9ec98
SHA1 (patch-ae) = d8b22cea826727a41108d65f84b594d0879397b2
SHA1 (patch-ag) = 684bf8a217950b0a7fb38140b20643f81d464431
SHA1 (patch-ah) = df9293d56869bcc20c4be12f9922160d8f2aa01e
SHA1 (patch-ah) = 840be5d59650cfc62cfa1b26693d90e6c08cc220
SHA1 (patch-ai) = 53a16f270a9048f74849c0cd02b517e821bdf08a
SHA1 (patch-aj) = e4019c1a71ecdf33540d603ba2e0ba09bd2b6f7b
SHA1 (patch-ak) = d5ba7700db11bee688d56e1b92f3663e6637237d
SHA1 (patch-al) = a3c150d76c91e33703d9ee05cd32e5d6f7b1264a
SHA1 (patch-am) = 5581c999105a5d3b616e090afc105781e66eb888
SHA1 (patch-an) = 1f92ed4028087d9a357fcf3788978495d63a13e3
SHA1 (patch-ba) = adb9d29439df7f6f75396914e2f7f9732983eecf
SHA1 (patch-bb) = 42ddad73912f8a5dd0deab11a710c5dcf32af322
SHA1 (patch-src_include_prelude-plugin.h) = 4731b98059971577819906d84fe7f160c24c04f5

View file

@ -1,4 +1,6 @@
$NetBSD: patch-ah,v 1.1 2009/08/23 18:56:34 hasso Exp $
$NetBSD: patch-ah,v 1.2 2013/06/30 11:35:23 sno Exp $
Fixing missing RPATH for perl bindings
--- bindings/perl/Makefile.PL.in.orig 2009-07-24 19:55:09 +0300
+++ bindings/perl/Makefile.PL.in 2009-07-24 19:58:01 +0300
@ -7,7 +9,7 @@ $NetBSD: patch-ah,v 1.1 2009/08/23 18:56:34 hasso Exp $
my %attributs = (NAME => 'PreludeEasy',
INC => '-I@top_srcdir@ -I@top_builddir@/src/include -I@top_srcdir@/src/include -I@top_builddir@/src/libprelude-error -I@top_srcdir@/bindings/c++/include -I@top_srcdir@/libmissing -I@top_builddir@/libmissing',
- LIBS => ["-L@top_builddir@/src/.libs -lprelude -L@top_builddir@/bindings/c++/.libs -lpreludecpp", "-L$ENV{LIBDIR} -lprelude @LIBPRELUDE_LIBS@ @LIBADD_DL@ @LTLIBTHREAD@" ],
+ LIBS => ["-L@top_builddir@/../.buildlink/lib -lprelude -lpreludecpp", "-L$ENV{LIBDIR} -lprelude @LIBPRELUDE_LIBS@ @LIBADD_DL@ @LTLIBTHREAD@" ],
+ LIBS => ["-L@top_builddir@/../.buildlink/lib -lprelude -lpreludecpp @LIBPRELUDE_LIBS@", "-L$ENV{LIBDIR} -lprelude @LIBPRELUDE_LIBS@ @LIBADD_DL@ @LTLIBTHREAD@" ],
LDDLFLAGS => "-L@top_builddir@/src/.libs $Config{lddlflags}");
if ( abs_path("@top_srcdir@") ne abs_path("@top_builddir@") ) {

View file

@ -0,0 +1,15 @@
$NetBSD: patch-an,v 1.1 2013/06/30 11:35:23 sno Exp $
Fixing missing RPATH for perl bindings
--- bindings/low-level/perl/Makefile.PL.in.orig 2009-05-12 07:49:42.000000000 +0000
+++ bindings/low-level/perl/Makefile.PL.in
@@ -6,7 +6,7 @@ use Cwd "abs_path";
my %attributs = (NAME => 'Prelude',
INC => '-I@top_srcdir@ -I@top_builddir@/src/include -I@top_srcdir@/src/include -I@top_builddir@/src/libprelude-error',
- LIBS => ["-L@top_builddir@/src/.libs -lprelude", "-L$ENV{LIBDIR} -lprelude @LIBPRELUDE_LIBS@ @LIBADD_DL@ @LTLIBTHREAD@" ],
+ LIBS => ["-L@top_builddir@/src/.libs -lprelude @LIBPRELUDE_LIBS@", "-L$ENV{LIBDIR} -lprelude @LIBPRELUDE_LIBS@ @LIBADD_DL@ @LTLIBTHREAD@" ],
LDDLFLAGS => "-L@top_builddir@/src/.libs $Config{lddlflags}");
if ( abs_path("@top_srcdir@") ne abs_path("@top_builddir@") ) {