+++ /dev/null
---- Makefile~ 2010-08-09 14:01:24.351716328 -0400
-+++ Makefile 2010-08-09 14:00:45.981716329 -0400
-@@ -10,13 +10,13 @@
- all: $(TARGET)
-
- ttyrec: ttyrec.o io.o
-- $(CC) $(CFLAGS) -o ttyrec ttyrec.o io.o
-+ $(CC) $(LDFLAGS) $(CFLAGS) -o ttyrec ttyrec.o io.o
-
- ttyplay: ttyplay.o io.o
-- $(CC) $(CFLAGS) -o ttyplay ttyplay.o io.o
-+ $(CC) $(LDFLAGS) $(CFLAGS) -o ttyplay ttyplay.o io.o
-
- ttytime: ttytime.o io.o
-- $(CC) $(CFLAGS) -o ttytime ttytime.o io.o
-+ $(CC) $(LDFLAGS) $(CFLAGS) -o ttytime ttytime.o io.o
-
- clean:
- rm -f *.o $(TARGET) ttyrecord *~
+++ /dev/null
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-
-inherit base flag-o-matic toolchain-funcs
-
-DESCRIPTION="The tty recorder provides tools to record and replay a terminal session."
-HOMEPAGE="http://0xcc.net/ttyrec/"
-SRC_URI="http://namazu.org/~satoru/ttyrec/${P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
-
-# Bug 331843
-PATCHES=( "${FILESDIR}/${P}-ldflags.patch" )
-
-src_compile() {
- # Bug 106530
- [[ ${CHOST} != *-darwin* ]] && append-cppflags -DSVR4 -D_XOPEN_SOURCE=500
- emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}"
-}
-
-src_install() {
- dobin ttyrec ttyplay ttytime
- dodoc README
- doman *.1
-}