On 02 May 2005, at 22:20, Daniel Macks wrote:

On Mon, May 02, 2005 at 03:53:56PM -0400, Dave Vasilevsky wrote:

There's a problem with this. Fink's texi2html uses #!/sw/bin/perl .
But I'm using system-perl586, so I don't have a /sw/bin/perl. This is
detected by 'make', so it uses the OS X texi2html instead.

So this raises the questions: Is it ok to use /sw/bin/perl as an
interpreter? And if it is, how are people using system-perl* supposed
to deal with it?


May I remind of http://article.gmane.org/gmane.os.apple.fink.devel/ 9706 ??
The problem is much more widespread, and affects over half of fink's pkgs ...
We will never correct but an infinitesimal fraction of those...
To me, the only realistic solution is that fink's perl pkgs install the
symlink /sw/bin/perl -> perlxyz in a PostInstallScript and, in a PreRemoveScript,
re-set it to point to /usr/bin/perl.


JF


Just talked on #fink about this:

* dmacks thinks perl-version-independent scripts should either be forced
to always encode /usr/bin/perl or [be forced to always encode /sw/ bin/perl
and have a Depends for it]
[...]
< dmacks> Looks like texi2html encodes "first perl in PATH" at build-time?
[...]
* dmacks has verified the assumption about texi2html's #! encoding behavior.


I just committed a new texi2html to 10.3/unstable that forces use of
/usr/bin/perl always (no doubt portable to Tiger, but I'm not on that
cat to test it right now:)

dan

--
Daniel Macks
[EMAIL PROTECTED]
http://www.netspace.org/~dmacks



-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.
Get your fingers limbered up and give it your best shot. 4 great events, 4
opportunities to win big! Highest score wins.NEC IT Guy Games. Play to
win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20
_______________________________________________
Fink-devel mailing list
Fink-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-devel






------------------------------------------------------- This SF.Net email is sponsored by: NEC IT Guy Games. Get your fingers limbered up and give it your best shot. 4 great events, 4 opportunities to win big! Highest score wins.NEC IT Guy Games. Play to win an NEC 61 plasma display. Visit http://www.necitguy.com/?r=20 _______________________________________________ Fink-devel mailing list Fink-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/fink-devel

Reply via email to