diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /x11-plugins/wmacpimon/files/Makefile.patch |
reinit the tree, so we can have metadata
Diffstat (limited to 'x11-plugins/wmacpimon/files/Makefile.patch')
-rw-r--r-- | x11-plugins/wmacpimon/files/Makefile.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/x11-plugins/wmacpimon/files/Makefile.patch b/x11-plugins/wmacpimon/files/Makefile.patch new file mode 100644 index 000000000000..aab28fc89392 --- /dev/null +++ b/x11-plugins/wmacpimon/files/Makefile.patch @@ -0,0 +1,24 @@ +--- Makefile 2010-09-06 11:33:16.000000000 +0200 ++++ Makefile.new 2010-09-06 11:36:28.000000000 +0200 +@@ -1,8 +1,5 @@ +-OPT = -O3 -DACPI +- +-CC = gcc +-CFLAGS = $(OPT) -Wall -I/usr/X11R6/include +-LDFLAGS = $(OPT) -L/usr/X11R6/lib -lX11 -lXpm -lXext ++CFLAGS += -DACPI -Wall -I/usr/X11R6/include ++LIBS = -DACPI -L/usr/X11R6/lib -lX11 -lXpm -lXext + + SRCS = wmacpimon.c libacpi.c + OBJS = wmacpimon.o libacpi.o +@@ -11,8 +8,10 @@ + all: wmacpimon wmacpimond + + wmacpimon: $(OBJS) ++ $(CC) $(LDFLAGS) -o wmacpimon $^ $(LIBS) + + wmacpimond: $(OBJZ) ++ $(CC) $(LDFLAGS) -o wmacpimond $^ $(LIBS) + + clean: + rm -f *.o *~ wmacpimon wmacpimond trace *.out *.bb *.bbg |