Skip to content

Commit

Permalink
app-misc/ttyrec: Fix flags for darwin
Browse files Browse the repository at this point in the history
The fix for bug 106530 was not applied properly before.
This fix will enable that ttyrec compiles on SVR4 systems like solaris.

Package-Manager: Portage-2.3.8, Repoman-2.3.3
  • Loading branch information
jonasstein committed Aug 27, 2017
1 parent 039059b commit c9c465b
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions app-misc/ttyrec/ttyrec-1.0.8-r2.ebuild
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@ SLOT="0"
KEYWORDS="~alpha ~amd64 ~ppc ~ppc64 ~sparc ~x86 ~amd64-linux ~x86-linux ~ppc-macos ~x86-macos"
PATCHES=( "${FILESDIR}/${P}-flags.patch" )

src_compile() {
# Bug 106530
[[ ${CHOST} != *-darwin* ]] && append-cppflags -DSVR4 -D_XOPEN_SOURCE=500
default
}

src_install() {
dobin ttyrec ttyplay ttytime
dodoc README
Expand Down

0 comments on commit c9c465b

Please sign in to comment.