Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Jan 2004 14:57:00 +0100
From:      Mathieu Arnold <mat@mat.cc>
To:        David Fleck <david.fleck@mchsi.com>, ports@freebsd.org, freebsd-perl@freebsd.org
Subject:   Re: PREFIX variable not used for perl ports?
Message-ID:  <82615075.1074437820@cmantatzi.in.t-online.fr>
In-Reply-To: <20040117215548.N602@grond.sourballs.org>
References:  <20040117215548.N602@grond.sourballs.org>

next in thread | previous in thread | raw e-mail | index | archive | help
I've never got 5.005_03 to be PREFIX clean, so, I test these things with 5.6
and 5.8

+-le 18/01/04 07:30 -0600, David Fleck =E9crivait :
| This is my first attempt at putting together a port.  I'm using the
| DBI::Shell module from CPAN, and I've pretty much just copied the Makefile
| from another perl database port, and then gone through the steps in the
| porter's handbook.  Everything seems OK - I've run it through all the
| tests mentioned in the handbook, made packages, installed, deinstalled,
| reinstalled, etc.
|=20
| Just one thing that seemed odd - I was following the 'Automated package
| list creation' section of the handbook, and after I ran
|=20
|> make install PREFIX=3D/var/tmp/dbishell
|=20
| I got the following:
|=20
| make install PREFIX=3D/var/tmp/dbishell
| =3D=3D=3D>  Extracting for p5-DBI-Shell-11.93
|>> Checksum OK for DBI-Shell-11.93.tar.gz.
| =3D=3D=3D>  Patching for p5-DBI-Shell-11.93
| =3D=3D=3D>   p5-DBI-Shell-11.93 depends on file:
| /usr/local/lib/perl5/site_perl/5.005/i386-freebsd/DBI.pm - found =3D=3D=3D>
| Configuring for p5-DBI-Shell-11.93
| Checking if your kit is complete...
| Looks good
| Warning: prerequisite IO::Tee 0 not found at (eval 4) line 219.
| Warning: prerequisite Text::Reform 0 not found at (eval 4) line 219.
| Writing Makefile for DBI::Shell
| =3D=3D=3D>  Building for p5-DBI-Shell-11.93
| mkdir blib
| mkdir blib/lib
| mkdir blib/lib/DBI
| cp lib/DBI/Format.pm blib/lib/DBI/Format.pm
| cp lib/DBI/Shell/Completion.pm blib/lib/DBI/Shell/Completion.pm
| cp lib/DBI/Shell/SQLMinus.pm blib/lib/DBI/Shell/SQLMinus.pm
| cp lib/DBI/Format/SQLMinus.pm blib/lib/DBI/Format/SQLMinus.pm
| cp lib/DBI/Shell/Spool.pm blib/lib/DBI/Shell/Spool.pm
| cp lib/DBI/Shell/Timing.pm blib/lib/DBI/Shell/Timing.pm
| cp lib/DBI/Shell/FindSqlFile.pm blib/lib/DBI/Shell/FindSqlFile.pm
| cp lib/DBI/Shell.pm blib/lib/DBI/Shell.pm
| mkdir blib/arch
| mkdir blib/arch/auto
| mkdir blib/arch/auto/DBI
| mkdir blib/arch/auto/DBI/Shell
| mkdir blib/lib/auto/DBI
| mkdir blib/lib/auto/DBI/Shell
| mkdir blib/man1
| mkdir blib/man3
| /usr/bin/perl5.00503 -Iblib/arch -Iblib/lib
| -I/usr/libdata/perl/5.00503/mach -I/usr/libdata/perl/5.00503 dbish.PL dbish
| Extracted dbish from dbish.PL with variable substitutions.
| mkdir blib/script
| cp dbish blib/script/dbish
| /usr/bin/perl5.00503 -I/usr/libdata/perl/5.00503/mach
| -I/usr/libdata/perl/5.00503 -MExtUtils::MakeMaker  -e "MY->fixin(shift)"
| blib/script/dbish Manifying blib/man3/DBI::Format.3
| Manifying blib/man1/dbish.1
| Manifying blib/man3/DBI::Format::SQLMinus.3
| Manifying blib/man3/DBI::Shell.3
| =3D=3D=3D>  Installing for p5-DBI-Shell-11.93
| =3D=3D=3D>   p5-DBI-Shell-11.93 depends on file:
| /usr/local/lib/perl5/site_perl/5.005/i386-freebsd/DBI.pm - found =3D=3D=3D>
| Generating temporary packing list
| =3D=3D=3D>  Checking if databases/p5-DBI-Shell already installed
| Manifying blib/man1/dbish.1
| Installing /usr/local/lib/perl5/site_perl/5.005/DBI/Format.pm
| Installing /usr/local/lib/perl5/site_perl/5.005/DBI/Shell/Completion.pm
| Installing /usr/local/lib/perl5/site_perl/5.005/DBI/Shell/SQLMinus.pm
| Installing /usr/local/lib/perl5/site_perl/5.005/DBI/Shell/Spool.pm
| Installing /usr/local/lib/perl5/site_perl/5.005/DBI/Shell/Timing.pm
| Installing /usr/local/lib/perl5/site_perl/5.005/DBI/Shell/FindSqlFile.pm
| Installing /usr/local/lib/perl5/site_perl/5.005/DBI/Format/SQLMinus.pm
| Installing /usr/local/lib/perl5/site_perl/5.005/DBI/Shell.pm
| Installing /usr/local/man/man1/dbish.1
| Installing /usr/local/lib/perl5/5.00503/man/man3/DBI::Format.3
| Installing /usr/local/lib/perl5/5.00503/man/man3/DBI::Format::SQLMinus.3
| Installing /usr/local/lib/perl5/5.00503/man/man3/DBI::Shell.3
| Installing /var/tmp/dbishell/bin/dbish
| Writing
| /usr/local/lib/perl5/site_perl/5.005/i386-freebsd/auto/DBI/Shell/.packlist
| Appending installation info to /var/tmp/dbishell/lib/perllocal.pod =
=3D=3D=3D>
| Compressing manual pages for p5-DBI-Shell-11.93
| /var/tmp/dbishell/man//man1/dbish.1: No such file or directory
| /var/tmp/dbishell/lib/perl5/5.00503/man//man3/DBI::Format.3: No such file
| or directory
| /var/tmp/dbishell/lib/perl5/5.00503/man//man3/DBI::Format::SQLMinus.3: No
| such file or directory
| /var/tmp/dbishell/lib/perl5/5.00503/man//man3/DBI::Shell.3: No such file or
| directory =3D=3D=3D>   Registering installation for p5-DBI-Shell-11.93
|=20
| notice that very little got installed to where I set PREFIX.  Most got
| installed directly into the system perl directories.
|=20
| Is there some other variable that can be set to ensure that the whole
| thing gets installed to /var/tmp?
|=20
|=20
| (Makefile attached.)
|=20
| --
| David Fleck
| david.fleck@mchsi.com



--=20
Mathieu Arnold



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?82615075.1074437820>