diff options
author | 2024-06-13 15:49:40 -0400 | |
---|---|---|
committer | 2024-06-13 15:49:40 -0400 | |
commit | 540f78ba328d2fc58acff4abf22eb803178e6027 (patch) | |
tree | e4a2a27d238425d5b665b2befe436da66ec80cd6 /app-editors | |
parent | profiles/arch: mask kf6compat where KF6 not yet available (diff) | |
download | gentoo-540f78ba328d2fc58acff4abf22eb803178e6027.tar.gz gentoo-540f78ba328d2fc58acff4abf22eb803178e6027.tar.bz2 gentoo-540f78ba328d2fc58acff4abf22eb803178e6027.zip |
app-editors/nano: drop IUSE=static
nano calls getpwuid (NSS), which can be problematic in static binaries.
Bug: https://bugs.gentoo.org/934128
Signed-off-by: Mike Gilbert <floppym@gentoo.org>
Diffstat (limited to 'app-editors')
-rw-r--r-- | app-editors/nano/nano-8.0.ebuild | 16 | ||||
-rw-r--r-- | app-editors/nano/nano-9999.ebuild | 16 |
2 files changed, 10 insertions, 22 deletions
diff --git a/app-editors/nano/nano-8.0.ebuild b/app-editors/nano/nano-8.0.ebuild index 1ab91a8b3d8f..4fd1b503d2c7 100644 --- a/app-editors/nano/nano-8.0.ebuild +++ b/app-editors/nano/nano-8.0.ebuild @@ -19,19 +19,15 @@ HOMEPAGE="https://www.nano-editor.org/ https://wiki.gentoo.org/wiki/Nano/Guide" LICENSE="GPL-3+ LGPL-2.1+ || ( GPL-3+ FDL-1.2+ )" SLOT="0" -IUSE="debug justify magic minimal ncurses nls +spell static unicode" +IUSE="debug justify magic minimal ncurses nls +spell unicode" -LIB_DEPEND=" +RDEPEND=" >=sys-libs/ncurses-5.9-r1:=[unicode(+)?] - sys-libs/ncurses:=[static-libs(+)] - magic? ( sys-apps/file[static-libs(+)] ) + sys-libs/ncurses:= + magic? ( sys-apps/file ) nls? ( virtual/libintl ) " -RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )" -DEPEND=" - ${RDEPEND} - static? ( ${LIB_DEPEND} ) -" +DEPEND="${RDEPEND}" BDEPEND=" nls? ( sys-devel/gettext ) virtual/pkgconfig @@ -53,8 +49,6 @@ src_prepare() { } src_configure() { - use static && append-ldflags -static - local myconfargs=( --bindir="${EPREFIX}"/bin --htmldir=/trash diff --git a/app-editors/nano/nano-9999.ebuild b/app-editors/nano/nano-9999.ebuild index e66a301a6c4b..864ebe37cbae 100644 --- a/app-editors/nano/nano-9999.ebuild +++ b/app-editors/nano/nano-9999.ebuild @@ -19,19 +19,15 @@ HOMEPAGE="https://www.nano-editor.org/ https://wiki.gentoo.org/wiki/Nano/Guide" LICENSE="GPL-3+ LGPL-2.1+ || ( GPL-3+ FDL-1.2+ )" SLOT="0" -IUSE="debug justify magic minimal ncurses nls +spell static unicode" +IUSE="debug justify magic minimal ncurses nls +spell unicode" -LIB_DEPEND=" +RDEPEND=" >=sys-libs/ncurses-5.9-r1:=[unicode(+)?] - sys-libs/ncurses:=[static-libs(+)] - magic? ( sys-apps/file[static-libs(+)] ) + sys-libs/ncurses:= + magic? ( sys-apps/file ) nls? ( virtual/libintl ) " -RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} )" -DEPEND=" - ${RDEPEND} - static? ( ${LIB_DEPEND} ) -" +DEPEND="${RDEPEND}" BDEPEND=" nls? ( sys-devel/gettext ) virtual/pkgconfig @@ -53,8 +49,6 @@ src_prepare() { } src_configure() { - use static && append-ldflags -static - local myconfargs=( --bindir="${EPREFIX}"/bin --htmldir=/trash |