summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-misc/wcd')
-rw-r--r--app-misc/wcd/Manifest1
-rw-r--r--app-misc/wcd/files/wcd-6.0.2-gentoo.patch67
-rw-r--r--app-misc/wcd/wcd-6.0.3-r2.ebuild47
3 files changed, 0 insertions, 115 deletions
diff --git a/app-misc/wcd/Manifest b/app-misc/wcd/Manifest
index d6a74e918884..b3fbcd9285ec 100644
--- a/app-misc/wcd/Manifest
+++ b/app-misc/wcd/Manifest
@@ -1,2 +1 @@
-DIST wcd-6.0.3.tar.gz 813763 BLAKE2B 2e215c427914705213590d7c5182bebf39becbf24238bd71c5fdd12f7e63894b2ad571793f6d25833edd3f7cd4f3acbb07bbc821880c22d7a5d4f373cd972055 SHA512 b48a6f8a196725b4b570701813cf8a96e13e4fd6289b6c779218acc20ea1ea841e5f8648f717bb389976b715b95856e91bad3ffb20f8d80961d75eae8eacfbe8
DIST wcd-6.0.4.tar.gz 935815 BLAKE2B 00ec281890fe363258e0c847460ad9067f1c14409e64dfde239340ecf4f711af2047a8a1da226d4d17797e2b7452a4cd5aa65a0fcedcc2c172378d35a18a4a20 SHA512 afec27c0ca4cf7c7d24399f1f23c69ee765d57b449179696be5da82bcd6b146156254d9d1264e9c1f4905d5c117c7ac935a372aea25fa539b76c9bc866640daa
diff --git a/app-misc/wcd/files/wcd-6.0.2-gentoo.patch b/app-misc/wcd/files/wcd-6.0.2-gentoo.patch
deleted file mode 100644
index eddeee89e046..000000000000
--- a/app-misc/wcd/files/wcd-6.0.2-gentoo.patch
+++ /dev/null
@@ -1,67 +0,0 @@
---- a/src/Makefile
-+++ b/src/Makefile
-@@ -45,12 +45,12 @@
-
- CC ?= gcc
- STATIC =
--STRIP = strip
-+STRIP =
-
- ENABLE_NLS = 1
-
- PACKAGE = wcd
--EXT = .exe
-+EXT =
- PROGRAM = $(PACKAGE)$(EXT)
- BIN = $(PROGRAM)
-
-@@ -328,9 +328,9 @@
- # possible values: ncurses, curses, pdcurses, pdcursesw or <empty>
-
- ifdef UCS
-- CURSES = ncursesw
-+ CURSES = $(shell ${PKG_CONFIG} --libs ncursesw)
- else
-- CURSES = ncurses
-+ CURSES = $(shell ${PKG_CONFIG} --libs ncurses)
- endif
-
-
-@@ -360,7 +360,7 @@
-
- ifneq (,$(CURSES))
- DEFS_CURSES = -DWCD_USECURSES
-- LIB_CURSES = -l$(CURSES)
-+ LIB_CURSES = $(CURSES)
- ifeq (os/2,$(OS))
- LIB_CURSES += -ltinfo
- endif
-@@ -458,15 +458,15 @@
-
- LDFLAGS_USER =
- LDFLAGS ?=
--LDFLAGS += $(RPM_LD_FLAGS) \
-+LIBS = $(RPM_LD_FLAGS) \
- $(LDFLAGS_EXTRA) \
- $(NLFLAG) \
- $(LDFLAG_STATIC) \
- $(LDFLAGS_USER)
-
--LIBS = $(LIB_CURSES) \
-- $(LIB_UNISTRING) \
-- $(LIBS_EXTRA)
-+LIBS += $(LIB_CURSES) \
-+ $(LIB_UNISTRING) \
-+ $(LIBS_EXTRA)
-
- DEFS_USER =
- DEFS = $(DEF_UNIX) $(DEFS_CURSES) $(EXTRA_DEFS) $(DEFS_USER)
-@@ -523,7 +523,7 @@
-
- $(BIN): $(OBJS1)
- $(MAKE) status
-- $(CC) $(OBJS1) $(LDFLAGS) $(LIBS) -o $@
-+ $(CC) $(LDFLAGS) $(OBJS1) -o $@ $(LIBS)
-
- %.o: %.c
- $(CC) $(CFLAGS) $(EXTRA_CFLAGS) $(DEFS) -c $< -o $@
diff --git a/app-misc/wcd/wcd-6.0.3-r2.ebuild b/app-misc/wcd/wcd-6.0.3-r2.ebuild
deleted file mode 100644
index 49160e18f56e..000000000000
--- a/app-misc/wcd/wcd-6.0.3-r2.ebuild
+++ /dev/null
@@ -1,47 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit toolchain-funcs
-
-DESCRIPTION="Wherever Change Directory"
-HOMEPAGE="http://waterlan.home.xs4all.nl/#WCD_ANCHOR"
-SRC_URI="http://waterlan.home.xs4all.nl/${PN}/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 arm x86 ~amd64-linux ~x86-linux"
-IUSE="nls unicode"
-
-CDEPEND="
- sys-libs/ncurses:=[unicode(+)?]
- unicode? ( dev-libs/libunistring:= )"
-DEPEND="${CDEPEND}"
-BDEPEND="
- app-text/ghostscript-gpl
- virtual/pkgconfig
-"
-RDEPEND="${CDEPEND}"
-
-S="${WORKDIR}/${P}/src"
-
-src_prepare() {
- eapply -p2 "${FILESDIR}"/${PN}-6.0.2-gentoo.patch
- eapply -p2 "${FILESDIR}"/${P}-doc-path.patch
- eapply_user
- tc-export CC PKG_CONFIG
-}
-
-src_compile() {
- local mycompile="LFS=1"
- use nls || mycompile+=" ENABLE_NLS="
- use unicode && mycompile+=" UCS=1 UNINORM=1"
- emake ${mycompile}
-}
-
-src_install() {
- local DOCS=( ../README.txt )
- default
- emake DESTDIR="${D}" DOTWCD=1 install-profile sysconfdir="/etc"
-}