Date: Tue, 7 Oct 2003 23:34:21 +0200 (CEST) From: Gerald Pfeifer <gerald@pfeifer.com> To: ports@freebsd.org Subject: 4.x Perl with customized $(PREFIX) Message-ID: <Pine.BSF.4.58.0310072332300.97585@acrux.dbai.tuwien.ac.at>
next in thread | raw e-mail | index | archive | help
This is from ports/56403: update port: mail/grepmail How should we (I) handle this? Install the update nevertheless, or ask for/hack up a port local fix? Gerald ---------- Forwarded message ---------- From: Yen-Ming Lee <leeym@FreeBSD.org> To: freebsd-gnats-submit@FreeBSD.org That problem only occurs in 4.x (perl-5.00503) with customized $(PREFIX). When configuring grepmail with customized $(PREFIX), the ExtUtils::MakeMaker of perl-5.00503 will discard the $(PREFIX) and generate these two lines: INSTALLSITELIB = /usr/local/lib/perl5/site_perl/5.005 INSTALLSITEARCH = /usr/local/lib/perl5/site_perl/5.005/i386-freebsd while ExtUtils::MakeMaker of perl-5.6.1 will still respect $(PREFIX): INSTALLSITELIB = $(PREFIX)/lib/perl5/site_perl/5.6.1 INSTALLSITEARCH = $(PREFIX)/lib/perl5/site_perl/5.6.1/mach It's a general case (for perl-5.00503), therefore I prefer *NOT* to fix it within the port by using some quick-and-dirty hack, such as post-configure: ${PERL} -pi -e 's,/usr/local,${PREFIX},g' ${WRKSRC}/Makefile regards, -- Yen-Ming Lee [§õ«Û©ú] KeyID: 0x5EB52E51 : www.leeym.com : Taipei, Taiwan
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.58.0310072332300.97585>