Skip to content

Commit

Permalink
mosh: non-functional: minor portfile improvement
Browse files Browse the repository at this point in the history
  • Loading branch information
barracuda156 committed Jun 4, 2024
1 parent 9a08eb1 commit 41acf0c
Showing 1 changed file with 5 additions and 6 deletions.
11 changes: 5 additions & 6 deletions net/mosh/Portfile
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@ version 1.4.0
revision 2
categories net
license {GPL-3+ OpenSSLException}
platforms darwin
maintainers {mit.edu:quentin @quentinmit} \
openmaintainer
description Mobile Shell
Expand All @@ -32,13 +31,13 @@ perl5.branches 5.34
perl5.default_branch 5.34
perl5.create_variants ${perl5.branches}

depends_build port:pkgconfig
depends_build-append path:bin/pkg-config:pkgconfig

depends_lib port:ncurses \
port:protobuf3-cpp \
port:zlib \
depends_lib-append port:ncurses \
port:p${perl5.major}-getopt-long \
port:p${perl5.major}-io-socket-ip
port:p${perl5.major}-io-socket-ip \
port:protobuf3-cpp \
port:zlib

post-patch {
reinplace "s|#!/usr/bin/env perl|#!${prefix}/bin/perl${perl5.major}|" \
Expand Down

0 comments on commit 41acf0c

Please sign in to comment.