From 8376ef56580626e9c0f796d5b85b53a0a1c7d5f5 Mon Sep 17 00:00:00 2001 From: V3n3RiX Date: Sat, 14 Jul 2018 21:03:06 +0100 Subject: gentoo resync : 14.07.2018 --- games-misc/bsod/files/bsod-0.1-Makefile.patch | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 games-misc/bsod/files/bsod-0.1-Makefile.patch (limited to 'games-misc/bsod/files') diff --git a/games-misc/bsod/files/bsod-0.1-Makefile.patch b/games-misc/bsod/files/bsod-0.1-Makefile.patch new file mode 100644 index 000000000000..b7699c80403b --- /dev/null +++ b/games-misc/bsod/files/bsod-0.1-Makefile.patch @@ -0,0 +1,21 @@ +--- a/Makefile ++++ b/Makefile +@@ -1,15 +1,15 @@ + VERSION=0.1 + + DEBUG=-g -pedantic #-pg #-fprofile-arcs +-LDFLAGS=-lncurses $(DEBUG) +-CFLAGS+=-O2 -Wall -DVERSION=\"$(VERSION)\" $(DEBUG) ++LDLIBS=$(shell ${PKG_CONFIG} --libs ncurses) ++CFLAGS+=-Wall -DVERSION=\"$(VERSION)\" + + OBJS=bsod.o + + all: bsod + + bsod: $(OBJS) +- $(CC) -Wall $(OBJS) $(LDFLAGS) -o bsod ++ $(CC) $(LDFLAGS) $(CFLAGS) $(OBJS) $(LDLIBS) -o bsod + + install: bsod + cp bsod $(DESTDIR)/usr/local/bin -- cgit v1.2.3