mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-08-02 11:38:07 -07:00
app-editors/nano: add support for /usr merge
Signed-off-by: Matija Skala <mskala@gmx.com> Closes: https://github.com/gentoo/gentoo/pull/12432 Signed-off-by: Lars Wendler <polynomial-c@gentoo.org>
This commit is contained in:
committed by
Lars Wendler
parent
2182bbe4c7
commit
301a958e47
@@ -35,5 +35,8 @@ perhaps providing other extra functionality.
|
||||
Disable all fancy features, including ones that otherwise have a dedicated
|
||||
USE flag (such as spelling).
|
||||
</flag>
|
||||
<flag name="split-usr">
|
||||
Enable this if /bin and /usr/bin are separate directories
|
||||
</flag>
|
||||
</use>
|
||||
</pkgmetadata>
|
||||
|
||||
@@ -18,7 +18,7 @@ HOMEPAGE="https://www.nano-editor.org/ https://wiki.gentoo.org/wiki/Nano/Basics_
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
IUSE="debug justify +magic minimal ncurses nls slang +spell static unicode"
|
||||
IUSE="debug justify +magic minimal ncurses nls slang +spell +split-usr static unicode"
|
||||
|
||||
LIB_DEPEND=">=sys-libs/ncurses-5.9-r1:0=[unicode?]
|
||||
sys-libs/ncurses:0=[static-libs(+)]
|
||||
@@ -79,5 +79,5 @@ src_install() {
|
||||
"${ED%/}"/etc/nanorc || die
|
||||
fi
|
||||
|
||||
dosym ../../bin/nano /usr/bin/nano
|
||||
use split-usr && dosym ../../bin/nano /usr/bin/nano
|
||||
}
|
||||
|
||||
@@ -18,7 +18,7 @@ HOMEPAGE="https://www.nano-editor.org/ https://wiki.gentoo.org/wiki/Nano/Basics_
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
IUSE="debug justify +magic minimal ncurses nls slang +spell static unicode"
|
||||
IUSE="debug justify +magic minimal ncurses nls slang +spell +split-usr static unicode"
|
||||
|
||||
LIB_DEPEND=">=sys-libs/ncurses-5.9-r1:0=[unicode?]
|
||||
sys-libs/ncurses:0=[static-libs(+)]
|
||||
@@ -76,5 +76,5 @@ src_install() {
|
||||
"${ED}"/etc/nanorc || die
|
||||
fi
|
||||
|
||||
dosym ../../bin/nano /usr/bin/nano
|
||||
use split-usr && dosym ../../bin/nano /usr/bin/nano
|
||||
}
|
||||
|
||||
@@ -18,7 +18,7 @@ HOMEPAGE="https://www.nano-editor.org/ https://wiki.gentoo.org/wiki/Nano/Basics_
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
IUSE="debug justify +magic minimal ncurses nls slang +spell static unicode"
|
||||
IUSE="debug justify +magic minimal ncurses nls slang +spell +split-usr static unicode"
|
||||
|
||||
LIB_DEPEND=">=sys-libs/ncurses-5.9-r1:0=[unicode?]
|
||||
sys-libs/ncurses:0=[static-libs(+)]
|
||||
@@ -76,5 +76,5 @@ src_install() {
|
||||
"${ED}"/etc/nanorc || die
|
||||
fi
|
||||
|
||||
dosym ../../bin/nano /usr/bin/nano
|
||||
use split-usr && dosym ../../bin/nano /usr/bin/nano
|
||||
}
|
||||
|
||||
@@ -18,7 +18,7 @@ HOMEPAGE="https://www.nano-editor.org/ https://wiki.gentoo.org/wiki/Nano/Basics_
|
||||
|
||||
LICENSE="GPL-3"
|
||||
SLOT="0"
|
||||
IUSE="debug justify +magic minimal ncurses nls slang +spell static unicode"
|
||||
IUSE="debug justify +magic minimal ncurses nls slang +spell +split-usr static unicode"
|
||||
|
||||
LIB_DEPEND=">=sys-libs/ncurses-5.9-r1:0=[unicode?]
|
||||
sys-libs/ncurses:0=[static-libs(+)]
|
||||
@@ -76,5 +76,5 @@ src_install() {
|
||||
"${ED}"/etc/nanorc || die
|
||||
fi
|
||||
|
||||
dosym ../../bin/nano /usr/bin/nano
|
||||
use split-usr && dosym ../../bin/nano /usr/bin/nano
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user