From owner-freebsd-ports@FreeBSD.ORG Sun Jan 18 05:30:46 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 999E116A4CF; Sun, 18 Jan 2004 05:30:46 -0800 (PST) Received: from sccmmhc02.asp.att.net (sccmmhc02.asp.att.net [204.127.203.184]) by mx1.FreeBSD.org (Postfix) with ESMTP id A8DCF43D62; Sun, 18 Jan 2004 05:30:15 -0800 (PST) (envelope-from david.fleck@mchsi.com) Received: from grond (12-216-14-105.client.mchsi.com[12.216.14.105]) by sccmmhc02.asp.att.net (sccmmhc02) with SMTP id <20040118133014mm2009qti6e>; Sun, 18 Jan 2004 13:30:14 +0000 Date: Sun, 18 Jan 2004 07:30:14 -0600 (CST) From: David Fleck Sender: dcf@grond.sourballs.org To: ports@freebsd.org, freebsd-perl@freebsd.org Message-ID: <20040117215548.N602@grond.sourballs.org> MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="0-521066471-1074432614=:602" Subject: 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:30:46 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. Send mail to mime@docserver.cac.washington.edu for more info. --0-521066471-1074432614=:602 Content-Type: TEXT/PLAIN; charset=US-ASCII 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. Just one thing that seemed odd - I was following the 'Automated package list creation' section of the handbook, and after I ran > make install PREFIX=/var/tmp/dbishell I got the following: make install PREFIX=/var/tmp/dbishell ===> Extracting for p5-DBI-Shell-11.93 >> Checksum OK for DBI-Shell-11.93.tar.gz. ===> Patching for p5-DBI-Shell-11.93 ===> p5-DBI-Shell-11.93 depends on file: /usr/local/lib/perl5/site_perl/5.005/i386-freebsd/DBI.pm - found ===> 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 ===> 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 ===> Installing for p5-DBI-Shell-11.93 ===> p5-DBI-Shell-11.93 depends on file: /usr/local/lib/perl5/site_perl/5.005/i386-freebsd/DBI.pm - found ===> Generating temporary packing list ===> 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 ===> 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 ===> Registering installation for p5-DBI-Shell-11.93 notice that very little got installed to where I set PREFIX. Most got installed directly into the system perl directories. Is there some other variable that can be set to ensure that the whole thing gets installed to /var/tmp? (Makefile attached.) -- David Fleck david.fleck@mchsi.com --0-521066471-1074432614=:602 Content-Type: TEXT/PLAIN; charset=US-ASCII; name=Makefile Content-Transfer-Encoding: BASE64 Content-ID: <20040118073014.L602@grond.sourballs.org> Content-Description: Makefile Content-Disposition: attachment; filename=Makefile IyBOZXcgcG9ydHMgY29sbGVjdGlvbiBtYWtlZmlsZSBmb3I6CXA1LURCSS1T aGVsbA0KIyBEYXRlIGNyZWF0ZWQ6CQlTdW4gSmFuIDE4IDA3OjI3OjQxIENT VCAyMDA0DQojIFdob206CQkJCQlkY2ZAYXJhY25ldC5jb20NCiMNCiMgJEZy ZWVCU0QkDQojDQoNClBPUlROQU1FPQlEQkktU2hlbGwNClBPUlRWRVJTSU9O PSAxMS45Mw0KQ0FURUdPUklFUz0JZGF0YWJhc2VzIHBlcmw1DQpNQVNURVJf U0lURVM9CSR7TUFTVEVSX1NJVEVfUEVSTF9DUEFOfQ0KTUFTVEVSX1NJVEVf U1VCRElSPQlEQkkNClBLR05BTUVQUkVGSVg9CXA1LQ0KDQpNQUlOVEFJTkVS PQlkY2ZAYXJhY25ldC5jb20NCkNPTU1FTlQ9CUludGVyYWN0aXZlIGNvbW1h bmQgc2hlbGwgZm9yIHRoZSBEQkkNCg0KUEVSTF9DT05GSUdVUkU9CXllcw0K DQpNQU4xPQkJZGJpc2guMQ0KTUFOMz0JCURCSTo6Rm9ybWF0LjMgREJJOjpG b3JtYXQ6OlNRTE1pbnVzLjMgREJJOjpTaGVsbC4zDQoNCi5pbmNsdWRlIDxi c2QucG9ydC5wcmUubWs+DQoNCi5pZiAke1BFUkxfTEVWRUx9IDwgNTAwNjAw DQpCVUlMRF9ERVBFTkRTKz0JJHtTSVRFX1BFUkx9LyR7UEVSTF9BUkNIfS9E QkkucG06JHtQT1JUU0RJUn0vZGF0YWJhc2VzL3A1LURCSS0xMzcNClJVTl9E RVBFTkRTKz0JJHtTSVRFX1BFUkx9LyR7UEVSTF9BUkNIfS9EQkkucG06JHtQ T1JUU0RJUn0vZGF0YWJhc2VzL3A1LURCSS0xMzcNCi5lbHNlDQpCVUlMRF9E RVBFTkRTKz0JJHtTSVRFX1BFUkx9LyR7UEVSTF9BUkNIfS9EQkkucG06JHtQ T1JUU0RJUn0vZGF0YWJhc2VzL3A1LURCSQ0KUlVOX0RFUEVORFMrPQkke1NJ VEVfUEVSTH0vJHtQRVJMX0FSQ0h9L0RCSS5wbToke1BPUlRTRElSfS9kYXRh YmFzZXMvcDUtREJJDQouZW5kaWYNCg0KLmluY2x1ZGUgPGJzZC5wb3J0LnBv c3QubWs+DQo= --0-521066471-1074432614=:602--