From c4de80285d728d6325fdf3f449444676fee276b3 Mon Sep 17 00:00:00 2001 From: Enno Boland Date: Tue, 24 May 2016 11:29:30 +0200 Subject: [PATCH] ttyrec: apply voids {LD,C}FLAGS correctly. --- srcpkgs/ttyrec/template | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/srcpkgs/ttyrec/template b/srcpkgs/ttyrec/template index 28e3341a501..846a6acaa3c 100644 --- a/srcpkgs/ttyrec/template +++ b/srcpkgs/ttyrec/template @@ -10,7 +10,8 @@ license="BSD" checksum=ef5e9bf276b65bb831f9c2554cd8784bd5b4ee65353808f82b7e2aef851587ec do_build() { - make ${makejobs} CC=$CC CFLAGS="-DHAVE_openpty -lutil $CFLAGS" + sed -i 's/\$(CFLAGS)/$(LDFLAGS)/' Makefile + make ${makejobs} CC=$CC CFLAGS="-DHAVE_openpty $CFLAGS" LDFLAGS="-lutil $LDFLAGS" } do_install() { for f in rec play; do