Diff mercury-extras-20.06.1 with a mercury-extras-22.01
/usr/portage/dev-lang/mercury-extras/mercury-extras-22.01.ebuild 2023-10-09 14:52:29.464368349 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2021 Gentoo Authors |
|
1 |
# Copyright 1999-2022 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 | 4 |
EAPI=7 |
5 | 5 | |
6 |
inherit multilib toolchain-funcs vcs-clean |
|
6 |
inherit multilib vcs-clean |
|
7 | 7 | |
8 | 8 |
PATCHSET_VER="0" |
9 | 9 |
MY_P=mercury-srcdist-${PV} |
... | ... | |
41 | 41 | |
42 | 42 |
DEPEND="${RDEPEND}" |
43 | 43 | |
44 |
BDEPEND="virtual/pkgconfig" |
|
45 | ||
46 | 44 |
S="${WORKDIR}"/${MY_P}/extras |
47 | 45 | |
48 | 46 |
mercury_pkgs() { |
... | ... | |
94 | 92 | |
95 | 93 |
echo "MCFLAGS += --libgrades-exclude java" \ |
96 | 94 |
>> "${S}"/${mercury_pkg_dir}/Mercury.options |
97 |
echo "MCFLAGS += --libgrades-exclude erlang" \ |
|
98 |
>> "${S}"/${mercury_pkg_dir}/Mercury.options |
|
99 | 95 |
echo "MCFLAGS += --libgrades-exclude csharp" \ |
100 | 96 |
>> "${S}"/${mercury_pkg_dir}/Mercury.options |
101 | 97 | |
102 | 98 |
if test -n "$mercury_pkg_deps"; then |
103 |
echo "EXTRA_CFLAGS += $($(tc-getPKG_CONFIG) --cflags ${mercury_pkg_deps/,/ })" \ |
|
99 |
echo "EXTRA_CFLAGS += $(pkg-config --cflags ${mercury_pkg_deps/,/ })" \ |
|
104 | 100 |
>> "${S}"/${mercury_pkg_dir}/Mercury.options |
105 |
echo "EXTRA_LDFLAGS += $($(tc-getPKG_CONFIG) --libs ${mercury_pkg_deps/,/ })" \ |
|
101 |
echo "EXTRA_LDFLAGS += $(pkg-config --libs ${mercury_pkg_deps/,/ })" \ |
|
106 | 102 |
>> "${S}"/${mercury_pkg_dir}/Mercury.options |
107 | 103 |
fi |
108 | 104 | |
... | ... | |
207 | 203 |
done |
208 | 204 | |
209 | 205 |
cd "${S}" |
210 |
dodoc README |
|
206 |
dodoc README.md |
|
211 | 207 | |
212 | 208 |
if use examples; then |
213 | 209 |
docinto samples/cgi |
... | ... | |
256 | 252 |
dodoc graphics/samples/calc/*.m |
257 | 253 |
fi |
258 | 254 | |
259 |
if use opengl && use tk; then |
|
260 |
docinto samples/graphics |
|
261 |
dodoc graphics/samples/pent/*.m |
|
262 |
fi |
|
263 | ||
264 | 255 |
docinto samples/lex |
265 | 256 |
dodoc lex/samples/*.m |
266 | 257 |