summaryrefslogtreecommitdiff
path: root/textproc/p5-Text-BibTeX
diff options
context:
space:
mode:
authormarkd <markd>2012-05-23 20:57:29 +0000
committermarkd <markd>2012-05-23 20:57:29 +0000
commit76f1c2fbb841cd3a8776744337488745e14e44cc (patch)
treec6f9b052083bccbb3f7aef51eecbca6d28f326f1 /textproc/p5-Text-BibTeX
parent62a79d18936501312d5687e93805cd25680a149a (diff)
downloadpkgsrc-76f1c2fbb841cd3a8776744337488745e14e44cc.tar.gz
Fix linking of btparse library into xscode object
Bump PKGREVISION
Diffstat (limited to 'textproc/p5-Text-BibTeX')
-rw-r--r--textproc/p5-Text-BibTeX/Makefile3
-rw-r--r--textproc/p5-Text-BibTeX/distinfo3
-rw-r--r--textproc/p5-Text-BibTeX/patches/patch-inc_MyBuilder.pm15
3 files changed, 19 insertions, 2 deletions
diff --git a/textproc/p5-Text-BibTeX/Makefile b/textproc/p5-Text-BibTeX/Makefile
index bd253ac551f..978b510e59b 100644
--- a/textproc/p5-Text-BibTeX/Makefile
+++ b/textproc/p5-Text-BibTeX/Makefile
@@ -1,7 +1,8 @@
-# $NetBSD: Makefile,v 1.26 2012/04/05 22:43:47 markd Exp $
+# $NetBSD: Makefile,v 1.27 2012/05/23 20:57:29 markd Exp $
DISTNAME= Text-BibTeX-0.62
PKGNAME= p5-${DISTNAME}
+PKGREVISION= 1
SVR4_PKGNAME= p5tbt
CATEGORIES= textproc perl5
MASTER_SITES= ${MASTER_SITE_PERL_CPAN:=Text/}
diff --git a/textproc/p5-Text-BibTeX/distinfo b/textproc/p5-Text-BibTeX/distinfo
index b44a1023e90..a7f8b70a58d 100644
--- a/textproc/p5-Text-BibTeX/distinfo
+++ b/textproc/p5-Text-BibTeX/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.10 2012/04/05 22:43:47 markd Exp $
+$NetBSD: distinfo,v 1.11 2012/05/23 20:57:29 markd Exp $
SHA1 (Text-BibTeX-0.62.tar.gz) = f26a0b68197e4767b554a3d10bf70598f55b031f
RMD160 (Text-BibTeX-0.62.tar.gz) = 931a126ad8caf584d1ba47f7a8ade5e5ae6df7eb
Size (Text-BibTeX-0.62.tar.gz) = 272092 bytes
+SHA1 (patch-inc_MyBuilder.pm) = c584445f48a0e390925cefe8e7b1222aa129b1d6
diff --git a/textproc/p5-Text-BibTeX/patches/patch-inc_MyBuilder.pm b/textproc/p5-Text-BibTeX/patches/patch-inc_MyBuilder.pm
new file mode 100644
index 00000000000..5c3befecce6
--- /dev/null
+++ b/textproc/p5-Text-BibTeX/patches/patch-inc_MyBuilder.pm
@@ -0,0 +1,15 @@
+$NetBSD: patch-inc_MyBuilder.pm,v 1.1 2012/05/23 20:57:29 markd Exp $
+
+Fix linking of btparse library into xscode object
+
+--- inc/MyBuilder.pm.orig 2012-01-11 15:01:26.000000000 +0000
++++ inc/MyBuilder.pm
+@@ -120,7 +120,7 @@ sub ACTION_compile_xscode {
+ my $btparselibdir = $self->install_path('usrlib');
+ $cbuilder->link(
+ module_name => 'Text::BibTeX',
+- extra_linker_flags => "-Lbtparse/src -lbtparse ",
++ extra_linker_flags => "-Lbtparse/src -Wl,-R${btparselibdir} -lbtparse ",
+ objects => $objects,
+ lib_file => $lib_file,
+ );