diff options
author | Luis Ressel <aranea@aixah.de> | 2016-01-13 20:27:57 +0100 |
---|---|---|
committer | Luis Ressel <aranea@aixah.de> | 2016-01-13 23:12:47 +0100 |
commit | 0464f764bc743e9903ed5a34df0b00b61b43f00c (patch) | |
tree | 2ce9bc8cde67cd73d5aa01d7ca5f7994ea48578c /games-roguelike/nethack | |
parent | games-roguelike/nethack: Store make options in variable (diff) | |
download | gentoo-0464f764bc743e9903ed5a34df0b00b61b43f00c.tar.gz gentoo-0464f764bc743e9903ed5a34df0b00b61b43f00c.tar.bz2 gentoo-0464f764bc743e9903ed5a34df0b00b61b43f00c.zip |
games-roguelike/nethack: Add "experimental" USE flag
This toggles support for the showscore and status_hilite features
considered experimental by upstream.
Diffstat (limited to 'games-roguelike/nethack')
-rw-r--r-- | games-roguelike/nethack/metadata.xml | 3 | ||||
-rw-r--r-- | games-roguelike/nethack/nethack-3.6.0-r1.ebuild | 4 |
2 files changed, 6 insertions, 1 deletions
diff --git a/games-roguelike/nethack/metadata.xml b/games-roguelike/nethack/metadata.xml index 28f26f28ac64..5570ca33dc3e 100644 --- a/games-roguelike/nethack/metadata.xml +++ b/games-roguelike/nethack/metadata.xml @@ -10,4 +10,7 @@ <upstream> <remote-id type="sourceforge">nethack</remote-id> </upstream> + <use> + <flag name="experimental">Enable experimental features (showscore and status_hilite)</flag> + </use> </pkgmetadata> diff --git a/games-roguelike/nethack/nethack-3.6.0-r1.ebuild b/games-roguelike/nethack/nethack-3.6.0-r1.ebuild index 319bb0f38796..3696d05c3e91 100644 --- a/games-roguelike/nethack/nethack-3.6.0-r1.ebuild +++ b/games-roguelike/nethack/nethack-3.6.0-r1.ebuild @@ -13,7 +13,7 @@ SRC_URI="mirror://sourceforge/nethack/${PN}-${MY_PV}-src.tgz" LICENSE="nethack" SLOT="0" KEYWORDS="~amd64 ~hppa ~ppc ~sparc ~x86 ~x86-fbsd" -IUSE="X" +IUSE="experimental X" RDEPEND="sys-libs/ncurses:0= X? ( @@ -56,6 +56,8 @@ src_compile() { append-cflags -DSYSCF "-DSYSCF_FILE=\\\"/etc/nethack.sysconf\\\"" use X && append-cflags -DX11_GRAPHICS -DUSE_XPM + use experimental && + append-cflags -DSTATUS_VIA_WINDOWPORT -DSTATUS_HILITES -DSCORE_ON_BOTL makeopts=( CC="$(tc-getCC)" CFLAGS="${CFLAGS}" LFLAGS="${LDFLAGS}" |