From owner-freebsd-ports@FreeBSD.ORG Sun Jan 18 05:57:21 2004 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3CE2016A4CE; Sun, 18 Jan 2004 05:57:21 -0800 (PST) Received: from plouf.absolight.net (plouf.absolight.net [212.43.217.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5536143D45; Sun, 18 Jan 2004 05:57:13 -0800 (PST) (envelope-from mat@mat.cc) Received: from localhost (localhost [127.0.0.1]) by plouf.absolight.net (Postfix) with ESMTP id 118A74AC15A; Sun, 18 Jan 2004 14:57:12 +0100 (CET) Received: from cmantatzi.in.t-online.fr (cmantatzi.in.t-online.fr [213.44.126.228]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by plouf.absolight.net (Postfix) with ESMTP id B219B4AC153; Sun, 18 Jan 2004 14:57:11 +0100 (CET) Date: Sun, 18 Jan 2004 14:57:00 +0100 From: Mathieu Arnold To: David Fleck , ports@freebsd.org, freebsd-perl@freebsd.org Message-ID: <82615075.1074437820@cmantatzi.in.t-online.fr> In-Reply-To: <20040117215548.N602@grond.sourballs.org> References: <20040117215548.N602@grond.sourballs.org> X-Mailer: Mulberry/3.1.0 (Win32) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Virus-Scanned: by amavisd 0.1 Subject: Re: PREFIX variable not used for perl ports? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 18 Jan 2004 13:57:21 -0000 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