sys-apps/progress: Fix building against sys-libs/ncurses[tinfo].
authorJeroen Roovers <jer@gentoo.org>
Wed, 7 Oct 2015 05:17:31 +0000 (07:17 +0200)
committerJeroen Roovers <jer@gentoo.org>
Wed, 7 Oct 2015 05:17:31 +0000 (07:17 +0200)
Package-Manager: portage-2.2.22

sys-apps/progress/progress-0.9.ebuild

index 2b3bafe09556fa1aac44da535be4f248f21c56fc..2ad11d24e21a197e557a53c033698cee52f4db9e 100644 (file)
@@ -21,7 +21,7 @@ DEPEND="
 
 src_prepare() {
        sed -i \
-               -e '/LFLAGS/s:-lncurses:$(LDFLAGS) $(shell $(PKG_CONFIG) --libs ncurses):' \
+               -e '/LDFLAGS/s:-lncurses:$(shell $(PKG_CONFIG) --libs ncurses):' \
                -e 's:CFLAGS=-g:CFLAGS+=:' \
                -e 's:gcc:$(CC):g' \
                Makefile || die