From a258aafebeb35fec82eecc0bdf3a5d474301fb81 Mon Sep 17 00:00:00 2001 From: Jameson Graef Rollins Date: Mon, 6 Apr 2009 21:13:00 -0700 Subject: [PATCH] macports: improve perl shebang line modification for keytrans --- packaging/macports/Portfile | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.25.1