summaryrefslogtreecommitdiff
path: root/packaging
diff options
context:
space:
mode:
authorJameson Graef Rollins <jrollins@finestructure.net>2009-04-06 21:13:00 -0700
committerJameson Graef Rollins <jrollins@finestructure.net>2009-04-06 21:13:00 -0700
commita258aafebeb35fec82eecc0bdf3a5d474301fb81 (patch)
treec146aa6e5fa7f706d08741f86dd708435cf6f6e3 /packaging
parent9c49dffef9a4802004cc1216559bf5847e68a16b (diff)
macports: improve perl shebang line modification for keytrans
Diffstat (limited to 'packaging')
-rw-r--r--packaging/macports/Portfile4
1 files 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