pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/textproc/p5-Text-BibTeX Update to 0.48



details:   https://anonhg.NetBSD.org/pkgsrc/rev/b23d62591207
branches:  trunk
changeset: 601915:b23d62591207
user:      markd <markd%pkgsrc.org@localhost>
date:      Tue Apr 03 08:43:48 2012 +0000

description:
Update to 0.48

Release 0.48 - 23 September, 2010
---------------------------------
* depend on ExtUtils::LibBuilder for library compilation.

Release 0.47 - 18 September, 2010
---------------------------------
* fixed a problem with 160 char being considered whitespace on many unixes.
  Thanks, again, to Philip Kime :)

Release 0.46 - 24 August, 2010
------------------------------
* support entry keys in unicode. Thanks to Philip Kime.

Release 0.45 - 8 June, 2010
---------------------------
* fixed ldconfig call under linux, now only if the user is root.
* fixed library installation path when user specifies different
  installbase during install action.
  (thanks to François for both fixes)

Release 0.44 - 9 May, 2010
--------------------------
* RPath information on link - Thanks to Jens Rehsack
* removed dependency on 'UNIVERSAL' as it is now built-in
  (change for perl 5.12 deprecation)

Release 0.43 - 18 March, 2010
-----------------------------
* small fix on warnings issue
* run ldconfig after installing the .so file under linux

diffstat:

 textproc/p5-Text-BibTeX/Makefile         |   8 +--
 textproc/p5-Text-BibTeX/distinfo         |  12 ++----
 textproc/p5-Text-BibTeX/patches/patch-aa |  63 --------------------------------
 3 files changed, 7 insertions(+), 76 deletions(-)

diffs (111 lines):

diff -r ac60bfc02851 -r b23d62591207 textproc/p5-Text-BibTeX/Makefile
--- a/textproc/p5-Text-BibTeX/Makefile  Tue Apr 03 08:13:30 2012 +0000
+++ b/textproc/p5-Text-BibTeX/Makefile  Tue Apr 03 08:43:48 2012 +0000
@@ -1,13 +1,10 @@
-# $NetBSD: Makefile,v 1.23 2011/08/16 09:44:38 obache Exp $
+# $NetBSD: Makefile,v 1.24 2012/04/03 08:43:48 markd Exp $
 
-DISTNAME=      Text-BibTeX-0.42
+DISTNAME=      Text-BibTeX-0.48
 PKGNAME=       p5-${DISTNAME}
-PKGREVISION=   2
 SVR4_PKGNAME=  p5tbt
 CATEGORIES=    textproc perl5
 MASTER_SITES=  ${MASTER_SITE_PERL_CPAN:=Text/}
-DISTFILES+=    ${DISTNAME}.tar.gz btparse-0.35.tar.gz
-SITES.btparse-0.35.tar.gz=     ${MASTER_SITE_PERL_CPAN:=../by-authors/id/A/AM/AMBS/btparse/}
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 HOMEPAGE=      http://www.gerg.ca/software/btOOL/
@@ -19,6 +16,7 @@
 
 BUILD_DEPENDS+=                p5-Capture-Tiny>=0.06:../../devel/p5-Capture-Tiny
 BUILD_DEPENDS+=                p5-Config-AutoConf>=0.14:../../devel/p5-Config-AutoConf
+BUILD_DEPENDS+=                p5-ExtUtils-LibBuilder>=0.01:../../devel/p5-ExtUtils-LibBuilder
 BUILD_DEPENDS+=                p5-ExtUtils-CBuilder>=0.27:../../devel/p5-ExtUtils-CBuilder
 
 USE_LANGUAGES+=                c
diff -r ac60bfc02851 -r b23d62591207 textproc/p5-Text-BibTeX/distinfo
--- a/textproc/p5-Text-BibTeX/distinfo  Tue Apr 03 08:13:30 2012 +0000
+++ b/textproc/p5-Text-BibTeX/distinfo  Tue Apr 03 08:43:48 2012 +0000
@@ -1,9 +1,5 @@
-$NetBSD: distinfo,v 1.8 2010/03/16 22:30:01 sno Exp $
+$NetBSD: distinfo,v 1.9 2012/04/03 08:43:48 markd Exp $
 
-SHA1 (Text-BibTeX-0.42.tar.gz) = e55e0558e8a745c75cbc0787507b0cd5d5ba79a6
-RMD160 (Text-BibTeX-0.42.tar.gz) = 50b15921153644471c48a9c35b9c8aaa30735261
-Size (Text-BibTeX-0.42.tar.gz) = 269882 bytes
-SHA1 (btparse-0.35.tar.gz) = bb52c5fc02c1326008bed31a3c8932dd832b8ea8
-RMD160 (btparse-0.35.tar.gz) = afdf8cc2abd0beaa53b142d7277758a32e26d256
-Size (btparse-0.35.tar.gz) = 470546 bytes
-SHA1 (patch-aa) = 6c6193cd464e59b30f8405565cca566d089ca5c5
+SHA1 (Text-BibTeX-0.48.tar.gz) = 49847f456ee8ef4efc92ffda9bca285488478f91
+RMD160 (Text-BibTeX-0.48.tar.gz) = 06ce20a6e6c7f4ea25bede2dcf9129a3009cc891
+Size (Text-BibTeX-0.48.tar.gz) = 271034 bytes
diff -r ac60bfc02851 -r b23d62591207 textproc/p5-Text-BibTeX/patches/patch-aa
--- a/textproc/p5-Text-BibTeX/patches/patch-aa  Tue Apr 03 08:13:30 2012 +0000
+++ /dev/null   Thu Jan 01 00:00:00 1970 +0000
@@ -1,63 +0,0 @@
-$NetBSD: patch-aa,v 1.4 2010/03/16 09:53:02 sno Exp $
-
---- inc/MyBuilder.pm.orig      2010-03-14 18:20:38.000000000 +0000
-+++ inc/MyBuilder.pm
-@@ -74,9 +74,10 @@ sub ACTION_compile_xscode {
-     # .o => .(a|bundle)
-     my $lib_file = catfile( $archdir, "BibTeX.$Config{dlext}" );
-     if ( !$self->up_to_date( [ @$objects ], $lib_file ) ) {
-+      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,
-                        );
-@@ -145,11 +146,12 @@ sub ACTION_create_binaries {
-     my $exe_file = catfile("btparse","progs","dumpnames$EXEEXT");
-     push @toinstall, $exe_file;
-     my $object   = catfile("btparse","progs","dumpnames.o");
-+    my $btparselibdir = $self->install_path('usrlib');
-     if (!$self->up_to_date($object, $exe_file)) {
-         $CCL->($cbuilder,
-                exe_file => $exe_file,
-                objects  => [ $object ],
--               extra_linker_flags => '-Lbtparse/src -lbtparse ');
-+               extra_linker_flags => "-Lbtparse/src -Wl,-R${btparselibdir} -lbtparse ");
-     }
- 
-     $exe_file = catfile("btparse","progs","biblex$EXEEXT");
-@@ -159,7 +161,7 @@ sub ACTION_create_binaries {
-         $CCL->($cbuilder,
-                exe_file => $exe_file,
-                objects  => [ $object ],
--               extra_linker_flags => '-Lbtparse/src -lbtparse ');
-+               extra_linker_flags => "-Lbtparse/src -Wl,-R${btparselibdir} -lbtparse ");
-     }
- 
-     $exe_file = catfile("btparse","progs","bibparse$EXEEXT");
-@@ -168,7 +170,7 @@ sub ACTION_create_binaries {
-     if (!$self->up_to_date($object, $exe_file)) {
-         $CCL->($cbuilder,
-                exe_file => $exe_file,
--               extra_linker_flags => '-Lbtparse/src -lbtparse ',
-+               extra_linker_flags => "-Lbtparse/src -Wl,-R${btparselibdir} -lbtparse ",
-                objects => $object);
-     }
- 
-@@ -299,9 +301,13 @@ sub ACTION_test {
-     if ($^O =~ /darwin/i) {
-         $ENV{DYLD_LIBRARY_PATH} = catdir($self->blib,"usrlib");
-     }
--    if ($^O =~ /(freebsd|solaris|linux)/i) {
-+    elsif ($^O =~ /(?:linux|bsd|sun|sol|dragonfly|hpux|irix)/i) {
-         $ENV{LD_LIBRARY_PATH} = catdir($self->blib,"usrlib");
-     }
-+    elsif ($^O =~ /aix/i) {
-+        my $oldlibpath = $ENV{LIBPATH} || '/lib:/usr/lib';
-+        $ENV{LIBPATH} = catdir($self->blib,"usrlib").":$oldlibpath";
-+    }
- 
-     $self->SUPER::ACTION_test
- }



Home | Main Index | Thread Index | Old Index