From: Jameson Graef Rollins Date: Tue, 7 Apr 2009 04:13:00 +0000 (-0700) Subject: macports: improve perl shebang line modification for keytrans X-Git-Tag: monkeysphere_0.25~31^2~9 X-Git-Url: https://codewiz.org/gitweb?a=commitdiff_plain;h=a258aafebeb35fec82eecc0bdf3a5d474301fb81;p=monkeysphere.git macports: improve perl shebang line modification for keytrans --- diff --git a/packaging/macports/Portfile b/packaging/macports/Portfile index 7d87a93..dd6d58b 100644 --- a/packaging/macports/Portfile +++ b/packaging/macports/Portfile @@ -57,8 +57,8 @@ post-build { ${worksrcpath}/src/monkeysphere-authentication \ ${worksrcpath}/src/monkeysphere - # fix perl shebang line - exec sed -i .tmp -e "s|#!/usr/bin/perl -T|#!/usr/bin/env perl|g" \ + # fix perl shebang line to point to macports perl install + exec sed -i .tmp -e "s|^#!/usr/bin/perl -T$|#!/opt/local/bin/perl -T|" \ ${worksrcpath}/src/share/keytrans # remove leftover sed cruft