Lines 15-26
Link Here
|
15 |
LICENSE="GPL-2" |
15 |
LICENSE="GPL-2" |
16 |
SLOT="0" |
16 |
SLOT="0" |
17 |
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd ~hppa-hpux ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
17 |
KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~sparc-fbsd ~x86-fbsd ~hppa-hpux ~amd64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris" |
18 |
IUSE="debug nethack pam selinux multiuser" |
18 |
IUSE="debug nethack pam selinux multiuser static" |
19 |
|
19 |
|
20 |
RDEPEND=">=sys-libs/ncurses-5.2 |
20 |
LIB_DEPEND=">=sys-libs/ncurses-5.2[static-libs(+)]" |
|
|
21 |
RDEPEND="!static? ( ${LIB_DEPEND//\[static-libs(+)]} ) |
21 |
pam? ( virtual/pam ) |
22 |
pam? ( virtual/pam ) |
22 |
selinux? ( sec-policy/selinux-screen )" |
23 |
selinux? ( sec-policy/selinux-screen )" |
23 |
DEPEND="${RDEPEND}" |
24 |
DEPEND="${RDEPEND} |
|
|
25 |
static? ( ${LIB_DEPEND} )" |
24 |
|
26 |
|
25 |
pkg_setup() { |
27 |
pkg_setup() { |
26 |
# Make sure utmp group exists, as it's used later on. |
28 |
# Make sure utmp group exists, as it's used later on. |
Lines 100-105
Link Here
|
100 |
|
102 |
|
101 |
use nethack || append-flags "-DNONETHACK" |
103 |
use nethack || append-flags "-DNONETHACK" |
102 |
use debug && append-flags "-DDEBUG" |
104 |
use debug && append-flags "-DDEBUG" |
|
|
105 |
use static && append-ldflags -static |
103 |
|
106 |
|
104 |
econf \ |
107 |
econf \ |
105 |
--with-socket-dir="${EPREFIX}/var/run/screen" \ |
108 |
--with-socket-dir="${EPREFIX}/var/run/screen" \ |