ports/devel/comlin/files/patch-meson.build
Yuri Victorovich 713a610437 devel/comlin: New port: Small self-contained alternative to readline and libedit
PR:		280602
Reported by:	Daniel Engberg <diizzy@FreeBSD.org>
2024-08-10 19:58:24 -07:00

21 lines
748 B
Text

--- meson.build.orig 2024-03-15 21:01:28 UTC
+++ meson.build
@@ -17,8 +17,7 @@ major_version = meson.project_version().split('.')[0]
comlin_src_root = meson.current_source_dir()
comlin_build_root = meson.current_build_dir()
major_version = meson.project_version().split('.')[0]
-version_suffix = '-@0@'.format(major_version)
-versioned_name = 'comlin' + version_suffix
+versioned_name = 'comlin'
#######################
# Compilers and Flags #
@@ -124,7 +123,7 @@ meson.override_dependency(versioned_name, comlin_dep)
meson.override_dependency(versioned_name, comlin_dep)
# Install header to a versioned include directory
-install_headers(c_headers, subdir: versioned_name / 'comlin')
+install_headers(c_headers)
#########
# Tests #