Bug 5738 - perl share libs in wrong place when installing latest_tar.gz (*.ph files from h2ph)
Summary: perl share libs in wrong place when installing latest_tar.gz (*.ph files from...
Status: Closed FIXED
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: Normal Affects Only Me
Assignee: Steve Price
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 1998-02-13 17:50 UTC by dphi
Modified: 1998-02-15 23:05 UTC (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dphi 1998-02-13 17:50:01 UTC
When moving to perl 5.00404 from 5.00401 the creation of the
h2ph files are not put in the @INC dir. for perl to access

Fix: 

cp -R /usr/share/perl  /usr/local/lib/perl5

I would rather add the /usr/share/perl to the @INC but That
seems to be beyond me. (@INC is created during install)
How-To-Repeat: run a program that uses a very specfic *.ph 
A very simple perl only httpd from the learning perl5 course/book
http://www.best.com/~pereira/
Comment 1 roberto 1998-02-14 00:24:02 UTC
According to dphi@ix.netcom.com:
> http://www.best.com/~pereira/
> >Fix:
> cp -R /usr/share/perl  /usr/local/lib/perl5

VERY bad idea. /usr/share/perl is Perl4. 

The port should simply call h2ph (the real one in /usr/local/bin) instead.
-- 
Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto@keltia.freenix.fr
FreeBSD keltia.freenix.fr 3.0-CURRENT #56: Fri Feb  6 21:36:56 CET 1998
Comment 2 Steve Price freebsd_committer freebsd_triage 1998-02-15 23:04:17 UTC
State Changed
From-To: open->closed

h2ph is now run as a part of the post-install target.