head 1.5; access; symbols pkgsrc-2013Q2:1.5.0.4 pkgsrc-2013Q2-base:1.5 pkgsrc-2012Q4:1.5.0.2 pkgsrc-2012Q4-base:1.5 pkgsrc-2011Q4:1.4.0.16 pkgsrc-2011Q4-base:1.4 pkgsrc-2011Q3:1.4.0.14 pkgsrc-2011Q3-base:1.4 pkgsrc-2011Q2:1.4.0.12 pkgsrc-2011Q2-base:1.4 pkgsrc-2011Q1:1.4.0.10 pkgsrc-2011Q1-base:1.4 pkgsrc-2010Q4:1.4.0.8 pkgsrc-2010Q4-base:1.4 pkgsrc-2010Q3:1.4.0.6 pkgsrc-2010Q3-base:1.4 pkgsrc-2010Q2:1.4.0.4 pkgsrc-2010Q2-base:1.4 pkgsrc-2010Q1:1.4.0.2 pkgsrc-2010Q1-base:1.4 pkgsrc-2009Q4:1.2.0.10 pkgsrc-2009Q4-base:1.2 pkgsrc-2008Q4:1.2.0.8 pkgsrc-2008Q4-base:1.2 pkgsrc-2008Q3:1.2.0.6 pkgsrc-2008Q3-base:1.2 cube-native-xorg:1.2.0.4 cube-native-xorg-base:1.2 pkgsrc-2008Q2:1.2.0.2 pkgsrc-2008Q2-base:1.2 pkgsrc-2008Q1:1.1.1.1.0.44 pkgsrc-2008Q1-base:1.1.1.1 pkgsrc-2007Q4:1.1.1.1.0.42 pkgsrc-2007Q4-base:1.1.1.1 pkgsrc-2007Q3:1.1.1.1.0.40 pkgsrc-2007Q3-base:1.1.1.1 pkgsrc-2007Q2:1.1.1.1.0.38 pkgsrc-2007Q2-base:1.1.1.1 pkgsrc-2007Q1:1.1.1.1.0.36 pkgsrc-2007Q1-base:1.1.1.1 pkgsrc-2006Q4:1.1.1.1.0.34 pkgsrc-2006Q4-base:1.1.1.1 pkgsrc-2006Q3:1.1.1.1.0.32 pkgsrc-2006Q3-base:1.1.1.1 pkgsrc-2006Q2:1.1.1.1.0.30 pkgsrc-2006Q2-base:1.1.1.1 pkgsrc-2006Q1:1.1.1.1.0.28 pkgsrc-2006Q1-base:1.1.1.1 pkgsrc-2005Q4:1.1.1.1.0.26 pkgsrc-2005Q4-base:1.1.1.1 pkgsrc-2005Q3:1.1.1.1.0.24 pkgsrc-2005Q3-base:1.1.1.1 pkgsrc-2005Q2:1.1.1.1.0.22 pkgsrc-2005Q2-base:1.1.1.1 pkgsrc-2005Q1:1.1.1.1.0.20 pkgsrc-2005Q1-base:1.1.1.1 pkgsrc-2004Q4:1.1.1.1.0.18 pkgsrc-2004Q4-base:1.1.1.1 pkgsrc-2004Q3:1.1.1.1.0.16 pkgsrc-2004Q3-base:1.1.1.1 pkgsrc-2004Q2:1.1.1.1.0.14 pkgsrc-2004Q2-base:1.1.1.1 pkgsrc-2004Q1:1.1.1.1.0.12 pkgsrc-2004Q1-base:1.1.1.1 pkgsrc-2003Q4:1.1.1.1.0.10 pkgsrc-2003Q4-base:1.1.1.1 netbsd-1-6-1:1.1.1.1.0.6 netbsd-1-6-1-base:1.1.1.1 netbsd-1-6:1.1.1.1.0.8 netbsd-1-6-RELEASE-base:1.1.1.1 pkgviews:1.1.1.1.0.4 pkgviews-base:1.1.1.1 buildlink2:1.1.1.1.0.2 buildlink2-base:1.1.1.1 netbsd-1-5-PATCH003:1.1.1.1 netbsd-1-5-PATCH001:1.1.1.1 pkgsrc-base:1.1.1.1 TNF:1.1.1; locks; strict; comment @# @; 1.5 date 2012.04.03.08.43.49; author markd; state dead; branches; next 1.4; 1.4 date 2010.03.16.09.53.02; author sno; state Exp; branches; next 1.3; 1.3 date 2010.03.09.21.54.01; author sno; state Exp; branches; next 1.2; 1.2 date 2008.04.24.21.20.46; author markd; state dead; branches; next 1.1; 1.1 date 2001.02.27.23.39.55; author jtb; state Exp; branches 1.1.1.1; next ; 1.1.1.1 date 2001.02.27.23.39.55; author jtb; state Exp; branches; next ; desc @@ 1.5 log @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 @ text @$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 } @ 1.4 log @Updating textproc/p5-Text-BibTeX from 0.40 to 0.41 pkgsrc changes: - Adjust patch to build-script to ensure rpath set Upstream changes: Release 0.41 - 14 March, 2010 ----------------------------- * tested under Solaris and FreeBSD. * fixed compilation/installation under Mac OS X. * fixed some C code on format-security (thanks to Jerome Quelin). * fixed build system to check for dependencies. * added patch from Philip Kime to fix names with commas handling. @ text @d1 1 a1 1 $NetBSD$ @ 1.3 log @Updating textproc/p5-Text-BibTeX from 0.38 to 0.40 pkgsrc changes: - Add license definition - Adjust dependencies - Add module type Upstream changes: Release 0.40 - 7 March, 2010 ---------------------------- * this release is very similar to 0.40_3, but now indexable by cpan. Release 0.40_3 - 18 February, 2010 ---------------------------------- * fixed Build.PL with correct build_requirements; * fixed test to use still not installed library; Release 0.40_2 - 15 February, 2010 ---------------------------------- * merged btparse library into Text::BibTeX code. I am sorry for all other languages that might be using this library. For them my suggestion is that they make Text::BibTeX as a dependency. * ported compilation and configuration tools from ExtUtils::MakeMaker to Module::Build. * back on track, trying to make Text::BibTeX work and compile easily on main platforms (sorry, for main platforms I assume Linux, Mac OS X and Windows running Strawberry Perl). * Thanks to Philip Kime for continuous poke so I work on this!! Created a THANKS file for this purpose. @ text @d3 1 a3 1 --- inc/MyBuilder.pm.orig 2010-03-07 18:53:31.000000000 +0000 d5 1 a5 1 @@@@ -75,9 +75,10 @@@@ sub ACTION_compile_xscode { d17 4 a20 4 @@@@ -142,24 +143,25 @@@@ sub ACTION_create_binaries { print STDERR "\n** Creating binaries (dumpnames$EXEEXT, biblex$EXEEXT, bibparse$EXEEXT)\n"; d22 7 a28 7 # NO INST? ## FIXME - uptodate $CCL->($cbuilder, exe_file => "btparse/progs/dumpnames$EXEEXT", - extra_linker_flags => '-Lbtparse/src -lbtparse ', + extra_linker_flags => "-Lbtparse/src -Wl,-R${btparselibdir} -lbtparse ", objects => [ "btparse/progs/dumpnames.o" ]); d30 8 a37 7 # NO INST? ## FIXME - uptodate $CCL->($cbuilder, exe_file => "btparse/progs/biblex$EXEEXT", - extra_linker_flags => '-Lbtparse/src -lbtparse ', + extra_linker_flags => "-Lbtparse/src -Wl,-R${btparselibdir} -lbtparse ", objects => [ "btparse/progs/biblex.o" ]); d39 9 a47 15 ## FIXME - uptodate $CCL->($cbuilder, exe_file => "btparse/progs/bibparse$EXEEXT", - extra_linker_flags => '-Lbtparse/src -lbtparse ', + extra_linker_flags => "-Lbtparse/src -Wl,-R${btparselibdir} -lbtparse ", objects => [ map {"btparse/progs/$_.o"} (qw.bibparse args getopt getopt1.) ]); $self->copy_if_modified( from => "btparse/progs/dumpnames$EXEEXT", @@@@ -187,7 +189,7 @@@@ sub ACTION_create_tests { ## FIXME - uptodate $CCL->($cbuilder, exe_file => "btparse/tests/simple_test$EXEEXT", - extra_linker_flags => '-Lbtparse/src -lbtparse ', + extra_linker_flags => "-Lbtparse/src -Wl,-Rbtparse/src -lbtparse ", objects => [ map "btparse/tests/$_.o", (qw.simple_test testlib.) ]); d49 1 a49 2 ## FIXME - uptodate @@@@ -264,9 +266,13 @@@@ sub ACTION_test { d51 1 a51 1 $ENV{DYLD_LIBRARY_PATH} = catdir($self->blib,"usrlib").":$ENV{DYLD_LIBRARY_PATH}"; d53 3 a55 3 - if ($^O =~ /linux/i) { + if ($^O =~ /(?:linux|bsd|sun|sol|dragonfly|hpux|irix)/i) { $ENV{LD_LIBRARY_PATH} = catdir($self->blib,"usrlib").":$ENV{LD_LIBRARY_PATH}"; d57 2 a58 2 + if ($^O =~ /aix/i) { + my $oldlibpath = $ENV{LIBPATH} || '/lib:/usr/lib'; @ 1.2 log @Update to version 0.37 Release 0.37 - 21 Setember, 2006 -------------------------------- * added support for 'conference' key (alias for inproceedings) Release 0.36 - 24 July, 2005 ---------------------------- * fixed url where btparse should be downloaded from. (stupid bug) Release 0.35 - 23 July, 2005 ---------------------------- * changed from 0.33 to 0.35 to maintain relation with btparse. * some tests now use Test::More (more tests will change soon) * the way the module initializes changed. Now the module can be included to check its version. @ text @d1 1 a1 1 $NetBSD: patch-aa,v 1.1 2001/02/27 23:39:55 jtb Exp $ d3 15 a17 28 --- BibTeX.xs~ Wed Oct 6 14:56:46 1999 +++ BibTeX.xs Fri Sep 15 23:49:59 2000 @@@@ -29,6 +29,8 @@@@ #include "perl.h" #include "XSUB.h" +#define na PL_na + #define BT_DEBUG 0 #include "btparse.h" @@@@ -49,7 +51,7 @@@@ if (constant(name, &i)) ST(0) = sv_2mortal(newSViv(i)); else - ST(0) = &sv_undef; + ST(0) = &PL_sv_undef; MODULE = Text::BibTeX PACKAGE = Text::BibTeX PREFIX = bt_ @@@@ -96,7 +98,7 @@@@ for (i = 0; i < names->num_items; i++) { if (names->items[i] == NULL) - sv_name = &sv_undef; + sv_name = &PL_sv_undef; else sv_name = sv_2mortal (newSVpv (names->items[i], 0)); d19 51 @ 1.1 log @Initial revision @ text @d1 1 a1 1 $NetBSD$ @ 1.1.1.1 log @Initial import of p5-Text-BibTeX: Perl library for reading, parsing, and processing BibTeX files Package submitted by Mark Davies (mark@@MCS.VUW.AC.NZ) in PR 12061. Trivial modifications by me. @ text @@