wip/botan

Fredrik Pettai <[email protected]>
Newsgroups gmane.os.netbsd.devel.pkgsrc.wip.general
Message-ID <[email protected]>
Hi,

I updated the botan package and committed it to wip.
However, I never got it work the old way of using:

Makefile:
REPLACE_PERL+=  ./configure.pl
HAS_CONFIGURE= yes
CONFIG_SHELL=           perl
CONFIGURE_SCRIPT=      ./configure.pl
CONFIGURE_ARGS+=       --prefix=${PREFIX:Q}

While running configure.pl several substitutions got wrong.

=> Replacing Perl interpreter in ./configure.pl.
(autoconfig): Setting up build for Botan 1.8.1
(autoconfig): Guessing CPU using uname output 'NetBSD  
netbsd5.localhost 5.0_RC3 NetBSD 5.0_RC3 (GENERIC) #0: Fri Mar 20  
07:11:32 UTC 2009  [email protected]:/home/builds/ab/netbsd-5-0-RC3/ 
amd64/200903200521Z-obj/home/builds/ab/netbsd-5-0-RC3/src/sys/arch/ 
amd64/compile/GENERIC amd64'
(autoconfig): Guessing CPU is a amd64 (use --cpu to set)
Use of uninitialized value in substitution (s///) at /usr/pkg/lib/ 
perl5/5.8.0/File/Spec/Unix.pm line 59.
Use of uninitialized value in substitution (s///) at /usr/pkg/lib/ 
perl5/5.8.0/File/Spec/Unix.pm line 60.
Use of uninitialized value in string eq at /usr/pkg/lib/perl5/5.8.0/ 
File/Spec/Unix.pm line 61.
Use of uninitialized value in substitution (s///) at /usr/pkg/lib/ 
perl5/5.8.0/File/Spec/Unix.pm line 61.
Use of uninitialized value in substitution (s///) at /usr/pkg/lib/ 
perl5/5.8.0/File/Spec/Unix.pm line 62.
Use of uninitialized value in substitution (s///) at /usr/pkg/lib/ 
perl5/5.8.0/File/Spec/Unix.pm line 63.
Use of uninitialized value in string eq at /usr/pkg/lib/perl5/5.8.0/ 
File/Spec/Unix.pm line 64.
Use of uninitialized value in substitution (s///) at /usr/pkg/lib/ 
perl5/5.8.0/File/Spec/Unix.pm line 64.
Use of uninitialized value in concatenation (.) or string at /usr/pkg/ 
lib/perl5/5.8.0/File/Spec/Unix.pm line 65.

Anybody have any clue to why this happens?

(I replaced it with this as a "quick fix", which works fine)

REPLACE_PERL+=  ./configure.pl
CONFIG_SHELL=           perl

pre-build:
         cd ${WRKSRC} && \
         ${CONFIG_SHELL} ./configure.pl --prefix=${PREFIX:Q}

Regards,
/P

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.