Files
kn 5c335e2fc6 update to abseil-cpp 20260107.0
https://github.com/abseil/abseil-cpp/releases/tag/20260107.0

tl;dr:  Everything keeps building, only net/grpc needed missing includes.

libabsl_string_view is gone, almost all consumers pick up the new
libabsl_borrowed_fixup_buffer;  swap them in-place to avoid diff churn.

"go ahead" tb sthen
2026-01-16 07:54:07 +00:00

63 lines
2.7 KiB
Makefile

COMMENT = mobile shell
V = 1.4.0
DISTNAME = mosh-${V}
REVISION = 6
CATEGORIES = net
HOMEPAGE = https://mosh.org/
MAINTAINER = Jeremie Courreges-Anglas <jca@wxcvbn.org>
# GPLv3
PERMIT_PACKAGE = Yes
# uses pledge()
WANTLIB += ${COMPILER_LIBCXX} absl_base absl_city absl_civil_time
WANTLIB += absl_cord absl_cord_internal absl_cordz_functions absl_cordz_handle
WANTLIB += absl_cordz_info absl_crc32c absl_crc_cord_state absl_crc_cpu_detect
WANTLIB += absl_crc_internal absl_debugging_internal absl_decode_rust_punycode
WANTLIB += absl_demangle_internal absl_demangle_rust absl_die_if_null
WANTLIB += absl_examine_stack absl_exponential_biased absl_flags_commandlineflag
WANTLIB += absl_flags_commandlineflag_internal absl_flags_config
WANTLIB += absl_flags_internal absl_flags_marshalling absl_flags_private_handle_accessor
WANTLIB += absl_flags_program_name absl_flags_reflection absl_graphcycles_internal
WANTLIB += absl_hash absl_hashtablez_sampler absl_int128 absl_kernel_timeout_internal
WANTLIB += absl_leak_check absl_log_entry absl_log_globals absl_log_initialize
WANTLIB += absl_log_internal_check_op absl_log_internal_conditions
WANTLIB += absl_log_internal_fnmatch absl_log_internal_format
WANTLIB += absl_log_internal_globals absl_log_internal_log_sink_set
WANTLIB += absl_log_internal_message absl_log_internal_nullguard
WANTLIB += absl_log_internal_proto absl_log_internal_structured_proto
WANTLIB += absl_log_severity absl_log_sink absl_malloc_internal
WANTLIB += absl_random_distributions absl_random_internal_entropy_pool
WANTLIB += absl_random_internal_platform absl_random_internal_randen
WANTLIB += absl_random_internal_randen_hwaes absl_random_internal_randen_hwaes_impl
WANTLIB += absl_random_internal_randen_slow absl_random_internal_seed_material
WANTLIB += absl_random_seed_gen_exception absl_random_seed_sequences
WANTLIB += absl_raw_hash_set absl_raw_logging_internal absl_spinlock_wait
WANTLIB += absl_stacktrace absl_status absl_statusor absl_str_format_internal
WANTLIB += absl_strerror absl_borrowed_fixup_buffer absl_strings absl_strings_internal
WANTLIB += absl_symbolize absl_synchronization absl_throw_delegate
WANTLIB += absl_time absl_time_zone absl_tracing_internal absl_utf8_for_code_point
WANTLIB += absl_vlog_config_internal c crypto curses execinfo
WANTLIB += m protobuf ssl utf8_range utf8_validity util z
SITES = https://github.com/mobile-shell/mosh/releases/download/mosh-${V}/
DEBUG_PACKAGES = ${BUILD_PACKAGES}
# C++17 is recent upstream choice since C++14 is needed by protobuf
COMPILER = base-clang ports-gcc
CXXFLAGS += -std=gnu++17
LIB_DEPENDS = devel/protobuf
USE_GMAKE = Yes
CONFIGURE_STYLE = gnu
# don't force PIE which doesn't work on all arches
CONFIGURE_ENV = ax_cv_check_cxxflags__Werror___fPIE=no
.include <bsd.port.mk>