summaryrefslogtreecommitdiff
path: root/games-mud
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2019-07-19 22:05:27 +0100
committerV3n3RiX <venerix@redcorelinux.org>2019-07-19 22:05:27 +0100
commit121ed4eec41fbf03e1998d09eede1bf449da63b9 (patch)
treece9341d77d1507f67d4a3a1472da9011b5baa0a8 /games-mud
parentdd762ff83c330186ee2ede002e08b2f780cddd51 (diff)
gentoo resync : 19.07.2019
Diffstat (limited to 'games-mud')
-rw-r--r--games-mud/Manifest.gzbin2217 -> 2216 bytes
-rw-r--r--games-mud/mudix/Manifest3
-rw-r--r--games-mud/mudix/files/mudix-4.3-tinfo.patch43
-rw-r--r--games-mud/mudix/mudix-4.3-r2.ebuild19
4 files changed, 59 insertions, 6 deletions
diff --git a/games-mud/Manifest.gz b/games-mud/Manifest.gz
index 2382b2841ad2..694dbd54874c 100644
--- a/games-mud/Manifest.gz
+++ b/games-mud/Manifest.gz
Binary files differ
diff --git a/games-mud/mudix/Manifest b/games-mud/mudix/Manifest
index 411b559835ab..6201474a72db 100644
--- a/games-mud/mudix/Manifest
+++ b/games-mud/mudix/Manifest
@@ -1,4 +1,5 @@
AUX mudix-4.3-as-needed.patch 317 BLAKE2B e8a498bb7e9a7287bab60b25c7f435cab498fcd6a4e42f28f61942423bb74bba01a869bdd4b85672591e9bf9e2bb75723fb901bd40e78fa094e5809302849a16 SHA512 79d7a833f4e9b2225d09e87d1b9d97bba068882390d1af42436be99c83129ee1a1d0168f2aedb2c21df54178f20ce2d5bb946386d1a87367678059c8f2e1da6c
+AUX mudix-4.3-tinfo.patch 930 BLAKE2B c069471459e0616aab915f41a9e79923de5ee8bad2a9466230e0e8bb0cdabcaa47b9365fe524e7b2e723ec1f74e2f4e5b8487329dc5b233dbd5d53ec6e7934f8 SHA512 1270ddfd74882b3e1825cbdb30f34110b7b13b09b01b94f81c649e67c57aa5709edf6ae8a087f29de2a7e1a9c57c748def72db817f2fa31ebef9b4e723f8ae14
DIST mudix-4.3.tar.gz 43003 BLAKE2B e7bc7a053de3987ae9903cda01b6d5cf3bcf7967bc25bc502d8968792638b890afadaf2e66f09890a83beb80e5e340ec4af8b8559f967020ed76a4954b925b0a SHA512 9f9c8ee43ded9b837eb50e463e67b666e0b2b34334d93e9a4471fa792da99350042cd8abbd9f8e97aa7ba114736b2d99c1b6595c76a5254270a514681130eb94
-EBUILD mudix-4.3-r2.ebuild 527 BLAKE2B 4298430978fac2fb670913310c21ad26ce90aeef2eed0bbeff77b735af4b7947943eb256f882be48b20c43afbdc1b60ef5afa3aa96ff61069654673f61e50801 SHA512 f122f9fa21a17fd8eb1840fd9f842e382139c6a981231c6dccd9f2c8449341339419a62c55d5dd005c814ddc1f2d6f3d54d2b8756ca7626ca401358b51e3aaa3
+EBUILD mudix-4.3-r2.ebuild 640 BLAKE2B c51d00e6c56690af6c36adcb99d1cf4b72354805e982e0a06802a5f969dc661c3268c51778d7d704967055c8c5df13f8bbafd9d0044477095c38c6a7c2dd707d SHA512 1959a31f187ff370eb71d3e8a9c4c340d77f6b7109cd68e539bf0d713d02300feda9479c05672c1cf86c3111d8a48c002b6efe4416f99d4f633711147f8c2639
MISC metadata.xml 249 BLAKE2B 7113a758d7abc93accec998a8843d8ef51ca8b72d72e659e224d5cec2a1a6a63e6c0605958091532ac6e51fa0d501ca4fd9f3f4a9e55baeb31519a02971b465f SHA512 895577c3a805c40581da03057b94e3f28f05f23012bf350c1e3575847d1a0fe40bb044a46f909012a200d991a400f6389358a60e9c2b5bef0da01fb26f846118
diff --git a/games-mud/mudix/files/mudix-4.3-tinfo.patch b/games-mud/mudix/files/mudix-4.3-tinfo.patch
new file mode 100644
index 000000000000..0c11f235244e
--- /dev/null
+++ b/games-mud/mudix/files/mudix-4.3-tinfo.patch
@@ -0,0 +1,43 @@
+https://bugs.gentoo.org/690072
+
+--- mudix-4.3/configure.in
++++ mudix-4.3/configure.in
+@@ -4,9 +4,12 @@
+
+ dnl Checks for programs.
+ AC_PROG_CC
++PKG_PROG_PKG_CONFIG
+
+ dnl Checks for libraries.
+-AC_CHECK_LIB(ncurses, initscr)
++PKG_CHECK_MODULES(NCURSES, ncurses,,
++ [AC_MSG_ERROR([Cannot find ncurses libs])]
++ )
+ AC_CHECK_LIB(panel, new_panel)
+
+ dnl Checks for header files.
+--- mudix-4.3/Makefile.in
++++ mudix-4.3/Makefile.in
+@@ -1,5 +1,7 @@
++export NCURSES_LIBS=@NCURSES_LIBS@
++
+ all:
+- (cd src; make)
++ $(MAKE) -C src
+
+ clean:
+- (cd src; make $@)
++ $(MAKE) -C src $@
+--- mudix-4.3/src/Makefile.in
++++ mudix-4.3/src/Makefile.in
+@@ -2,9 +2,8 @@
+ #DEBUG = -DKEY_DEBUG
+ DEBUG =
+ EXEC = ../mudix
+-O_FLAGS = -O -g
+ C_FLAGS = $(O_FLAGS) $(DEBUG) -Wall -I../include
+-L_FLAGS = $(O_FLAGS) $(DEBUG) -lpanel -lncurses
++L_FLAGS = $(O_FLAGS) $(DEBUG) -lpanel $(NCURSES_LIBS)
+
+ O_FILES = alias.o \
+ commands.o \
diff --git a/games-mud/mudix/mudix-4.3-r2.ebuild b/games-mud/mudix/mudix-4.3-r2.ebuild
index 067ddf344613..26a95dbd9298 100644
--- a/games-mud/mudix/mudix-4.3-r2.ebuild
+++ b/games-mud/mudix/mudix-4.3-r2.ebuild
@@ -1,7 +1,9 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=6
+EAPI=7
+
+inherit autotools
DESCRIPTION="A small, stable MUD client for the console"
HOMEPAGE="http://dw.nl.eu.org/mudix.html"
@@ -12,15 +14,22 @@ SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""
-DEPEND="sys-libs/ncurses:0"
-RDEPEND=${DEPEND}
+DEPEND="sys-libs/ncurses:0="
+RDEPEND="${DEPEND}"
+BDEPEND="virtual/pkgconfig"
PATCHES=(
"${FILESDIR}"/${P}-as-needed.patch
+ "${FILESDIR}"/${P}-tinfo.patch
)
+src_prepare() {
+ default
+ eautoreconf
+}
+
src_compile() {
- emake -C src O_FLAGS="${CFLAGS}"
+ emake O_FLAGS="${CFLAGS}"
}
src_install () {