1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
7 SDESC[standard]= High performance build system
8 HOMEPAGE= https://mesonbuild.com
9 CONTACT= John_Marino[draco@marino.st]
12 SITES[main]= https://github.com/mesonbuild/meson/releases/download/0.52.1/
13 DISTFILE[1]= meson-0.52.1.tar.gz:main
15 SPKGS[standard]= single
17 OPTIONS_AVAILABLE= none
18 OPTIONS_STANDARD= none
20 RUN_DEPENDS= ninja:single:standard
24 LICENSE= APACHE20:single
25 LICENSE_TERMS= single:{{WRKDIR}}/TERMS
26 LICENSE_FILE= APACHE20:{{WRKSRC}}/COPYING
27 LICENSE_AWK= TERMS:"^from "
28 LICENSE_SOURCE= TERMS:{{WRKSRC}}/meson.py
31 FPC_EQUIVALENT= devel/meson
33 [FILE:473:descriptions/desc.single]
34 Meson is a cross-platform build system designed to be both as fast and as
35 user friendly as possible. It supports many languages and compilers,
36 including GCC, Clang and Visual Studio. Its build definitions are written
37 in a simple non-turing complete DSL. The main design point of Meson is
38 that every moment a developer spends writing or debugging build
39 definitions is a second wasted. So is every second spent waiting for the
40 build system to actually start compiling code.
44 0c277472e49950a5537e3de3e60c57b80dbf425788470a1a8ed27446128fc035 1507726 meson-0.52.1.tar.gz
47 [FILE:85:manifests/plist.single]
48 @comment rest is auto-generated
49 share/polkit-1/actions/com.mesonbuild.install.policy
52 [FILE:509:patches/patch-mesonbuild_environment.py]
53 --- mesonbuild/environment.py.orig 2019-11-28 17:37:44 UTC
54 +++ mesonbuild/environment.py
55 @@ -822,7 +822,7 @@ class Environment:
58 linker = GnuDynamicLinker(compiler, for_machine, i, prefix, version=v)
59 - elif 'Solaris' in e or 'Solaris' in o:
60 + elif 'enforce a 64-bit link-edit' in e:
61 linker = SolarisDynamicLinker(
62 compiler, for_machine, 'solaris', prefix,
63 version=search_version(e))
66 [FILE:718:patches/patch-mesonbuild_linkers.py]
67 --- mesonbuild/linkers.py.orig 2019-11-28 17:37:44 UTC
68 +++ mesonbuild/linkers.py
69 @@ -878,7 +878,12 @@ class SolarisDynamicLinker(PosixDynamicL
70 def get_link_whole_for(self, args: typing.List[str]) -> typing.List[str]:
73 - return self._apply_prefix('--whole-archive') + args + self._apply_prefix('--no-whole-archive')
74 + result = [self.prefix_arg + '-z', self.prefix_arg + 'allextract']
77 + result.append(self.prefix_arg + '-z')
78 + result.append(self.prefix_arg + 'defaultextract')
81 def no_undefined_args(self) -> typing.List[str]:
85 [FILE:613:patches/patch-mesonbuild_scripts_depfixer.py]
86 --- mesonbuild/scripts/depfixer.py.orig 2019-11-28 17:37:44 UTC
87 +++ mesonbuild/scripts/depfixer.py
88 @@ -438,12 +438,10 @@ def fix_rpath(fname, new_rpath, final_pa
89 if fname.endswith('.jar'):
92 - fix_elf(fname, new_rpath, verbose)
93 + # never adjust rpath (meson authors are idiots)
95 except SystemExit as e:
96 if isinstance(e.code, int) and e.code == 0:
100 - if shutil.which('install_name_tool'):
101 - fix_darwin(fname, new_rpath, final_path, install_name_mappings)
104 [FILE:1181:sunos/patch-mesonbuild_compilers_compilers.py]
105 --- mesonbuild/compilers/compilers.py.orig 2019-11-28 17:37:44 UTC
106 +++ mesonbuild/compilers/compilers.py
107 @@ -348,9 +348,6 @@ def get_base_link_args(options, linker,
108 # -bitcode_bundle is incompatible with -undefined and -bundle
109 if bitcode and not is_shared_module:
110 args.extend(linker.bitcode_args())
112 - # -Wl,-dead_strip_dylibs is incompatible with bitcode
113 - args.extend(linker.get_asneeded_args())
115 # Apple's ld (the only one that supports bitcode) does not like any
116 # -undefined arguments at all, so don't pass these when using bitcode
117 @@ -544,10 +541,6 @@ class CompilerArgs(list):
119 # First occurrence of a library
121 - if group_start >= 0:
122 - # Last occurrence of a library
123 - new.insert(group_end + 1, '-Wl,--end-group')
124 - new.insert(group_start, '-Wl,--start-group')
125 # Remove system/default include paths added with -isystem
126 if hasattr(self.compiler, 'get_default_include_dirs'):
127 default_dirs = self.compiler.get_default_include_dirs()