At 07:01 PM 2/5/2003 -0600, Sean O'Neill wrote:
I just portupgraded from perl-5.8.0_01 to perl-5.8.0_04 - or more appropriately I tried.Ahhh I found it I think.
Anyone noticed that the perl-5.8.0_04 port installs stuff in /usr/local/scripts, e.g. h2ph and others, but a pkginfo -L shows these same files are being installed in /usr/local/bin.
A problem with this is during the installation process it fails right towards the end because h2ph ends up in /usr/local/scripts/h2ph but the installation process is hard coded expecting it in /usr/local/bin/h2ph. I manually copied h2ph to /usr/local/bin and redid a "make install" and the port installed. But now the pkgdb is basically wrong for lots of the files.
Anyone else seen this ?
In the perl-5.8.0 Configure script - guess what it does? It actually looks for /usr/local/scripts as a possible location to install stuff. There is a case statement where it is looking for location to put publicly executable scripts. I put /usr/local/scripts as a location for my stuff a while back. I guess I'll change the name to something else.
But this does mean that the FreeBSD for perl-5.8.0 port doesn't handle this well - I think. Assuming Perl does install stuff in a location other the /usr/local/bin, the FreeBSD port of perl doesn't record it correctly in the pkgdb. It always assumes /usr/local/bin.
--
........................................................
......... ..- -. .. -..- .-. ..- .-.. . ... ............
.-- .. -. -... .-.. --- .-- ... -.. .-. --- --- .-.. ...
Sean O'Neill
To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-questions" in the body of the message