Сравнение ncompress-5.0 с ncompress-5.0-r1
/usr/portage/app-arch/ncompress/ncompress-5.0-r1.ebuild 2023-10-09 14:52:28.188368317 +0300 | ||
---|---|---|
1 |
# Copyright 1999-2022 Gentoo Authors |
|
1 |
# Copyright 1999-2023 Gentoo Authors |
|
2 | 2 |
# Distributed under the terms of the GNU General Public License v2 |
3 | 3 | |
4 | 4 |
EAPI="7" |
... | ... | |
16 | 16 | |
17 | 17 |
src_prepare() { |
18 | 18 |
default |
19 |
sed -i 's:\bln :ln -s :' Makefile.def || die |
|
19 |
# First sed expression replaces hardlinking with |
|
20 |
# symlinking. Second sed expression fixes the symlink target |
|
21 |
# to use relative path to a file in the same directory as the |
|
22 |
# symlink (so point to compress instead of |
|
23 |
# $(DESTDIR)$(BINDIR)/compress). |
|
24 |
sed -i \ |
|
25 |
-e 's:\bln :ln -s :' \ |
|
26 |
-e 's:\(\bln [^$]*\)\$(DESTDIR)\$(BINDIR)/:\1:' \ |
|
27 |
Makefile.def || die |
|
20 | 28 |
} |
21 | 29 | |
22 | 30 |
src_configure() { |