Date: Thu, 15 Feb 2001 14:29:56 +0200 From: Sheldon Hearn <sheldonh@uunet.co.za> To: ports@freebsd.org Subject: Re: cvs commit: ports/www/mod_perl Makefile ports/www/mod_perl/files patch-aa Message-ID: <40786.982240196@axl.fw.uunet.co.za> In-Reply-To: Your message of "Thu, 15 Feb 2001 02:50:18 PST." <200102151050.f1FAoIx91900@freefall.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 15 Feb 2001 02:50:18 PST, Sheldon Hearn wrote: > Modified files: > www/mod_perl Makefile > Added files: > www/mod_perl/files patch-aa > Log: > Fix PREFIX-clean breakage for libperl.so by breaking out its > installation from the mod_perl MakeMaker mess into the port's Makefile. > > This port is now PREFIX-clean. For those who're unsure of the real value of PREFIX-clean ports, let me mention it here. Ports which install files into locations outside PREFIX are not PREFIX-clean. If you set PREFIX to something other than /usr/local, you'll immediately notice the problem. This is a problem for folks who want to install a port or its package into something other than /usr/local, but that's not the serious problem, because people can always give up and use /usr/local if they're desperate. The serious problem is for semi-automated package list (pkg-plist) generation as described in the porter's handbook: http://www.freebsd.org/porters-handbook/porting-autoplist.html Semi-automated pkg-plist generation relies on being able to test package creation using a scratch installation root, such as /var/tmp/port-name, instead of the somewhat standard /usr/local. Ports that don't honour ${PREFIX} for _all_ installed files must have their pkg-plist updated in a monstly manual way. While some packages (especially those that use Perl's MakeMaker framework) are hard to make PREFIX-clean, a major benefit of the exercise is that updates to the port later will be much easier with respect to updating the packaging list (pkg-plist). Ciao, Sheldon. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-ports" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?40786.982240196>