File tree 1 file changed +12
-8
lines changed
1 file changed +12
-8
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ PortGroup perl5 1.0
5
5
6
6
name mosh
7
7
version 1.4.0
8
- revision 2
8
+ revision 3
9
9
categories net
10
10
license {GPL-3+ OpenSSLException}
11
11
maintainers {mit.edu:quentin @quentinmit} \
@@ -44,8 +44,14 @@ post-patch {
44
44
${worksrcpath} /scripts/mosh.pl
45
45
}
46
46
47
- # protobuf3-cpp requires c++11 now
48
- configure.cxxflags-append -std=c++11
47
+ # https://github.com/protocolbuffers/protobuf/issues/9947
48
+ configure.cflags-append -DNDEBUG
49
+
50
+ # avoid overlinking abseil
51
+ configure.ldflags-append -Wl,-dead_strip_dylibs
52
+
53
+ # abseil uses C++17; use `gnu++17` as Mosh allows use of GNU extensions
54
+ configure.cxxflags-append -std=gnu++17
49
55
50
56
# force protobuf3-cpp into the no_threadlocal mode on older systems
51
57
if { ${os.platform} eq " darwin" && ${os.major} < 11 } {
@@ -62,11 +68,9 @@ if {${os.platform} eq "darwin" && ${os.major} > 11} {
62
68
--with-crypto-library=openssl
63
69
}
64
70
65
- post-destroot {
66
- xinstall -d ${destroot}${prefix} /etc/bash_completion.d
67
- copy ${worksrcpath} /conf/bash-completion/completions/mosh \
68
- ${destroot}${prefix} /etc/bash_completion.d/mosh
69
- }
71
+ configure.args-append \
72
+ --enable-completion \
73
+ --disable-silent-rules
70
74
71
75
livecheck.type regex
72
76
livecheck.url ${homepage}
You can’t perform that action at this time.
0 commit comments