-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Ion-Mihai Tetcu wrote: > On Sat, 21 Jun 2008 21:55:18 +0200 (CEST) > "Remko Lodder" <[EMAIL PROTECTED]> wrote: > >> On Sat, June 21, 2008 9:09 pm, Ion-Mihai Tetcu wrote: >>> On Sat, 21 Jun 2008 18:51:15 +0200 >>> Remko Lodder <[EMAIL PROTECTED]> wrote: >>> >>>> [EMAIL PROTECTED] wrote: >>>>> Hello, >>>>> >>>>> There are some trouble getting imapsync port running: >>>>> >>>>> First, it would be nice adding a patch to change the shebang to >>>>> /usr/local/bin/perl. I don't expect anybody having perl on FreeBSD >>>>> at /usr/bin/perl. >>>>> >>>>> Secondly imapsync will not run with Mail::IMAPClient from ports, >>>>> as said by imapsync itself: >>>>> >>>>> Subroutine Authuser redefined at /usr/local/bin/imapsync line 2557. >>>>> imapsync needs perl lib Mail::IMAPClient release 2.2.9 exactly, future >>>>> imapsync release may suppoort 3.0.x, but sorry not now. See file >>>>> BUG_IMAPClient_3.xx >>>>> # Looks like your test died before it could output anything. >>>>> >>>>> Mail::IMAPClient provided with imapsync src should be used instead. >>>>> >>>>> Regards, >>>>> Adam >>>>> >>>> #!/usr/bin/perl is installed as symlink for consistency. The line does >>>> not have to be changed in my eyes. I also do not see us removing the >>>> symlink anytime soon so lets just leave it like that :-). >>> Actually it should. >>> # PERL - Set to full path of perl5, either in the system >>> or >>> # installed from a port, but without the >>> version number. >>> # Use this if you need to replace "#!" >>> lines in scripts. >>> >> That does not say it SHOULD be set to /usr/local/bin/perl, all perl >> scripts I have seen so far are /usr/bin/perl, why break that without >> general concensus? :) > > I live with the impression that is the general consensus. I never seen > a port that doesn't do that patch. Since I'm not a perl guy I'm CC'ing > perl@ on this.
I use python, where I picked up this little trick, which lets python find it's actual location and execute itself, based upon the reliable location of "env": #!/usr/bin/env python You could replace python with perl, for your needs. > > -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.4 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFIXX6Iz62J6PPcoOkRAulRAJ4pHng7y3KkKDwTXFr89qjYPCU3FACeNuZI NavNInhZO4viAHiVUa5gO1c= =28zV -----END PGP SIGNATURE----- _______________________________________________ freebsd-ports@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-ports To unsubscribe, send any mail to "[EMAIL PROTECTED]"