diff options
Diffstat (limited to 'x11-misc/set_opacity/files/makefile.patch')
-rw-r--r-- | x11-misc/set_opacity/files/makefile.patch | 21 |
1 files changed, 21 insertions, 0 deletions
diff --git a/x11-misc/set_opacity/files/makefile.patch b/x11-misc/set_opacity/files/makefile.patch new file mode 100644 index 000000000000..bb21db68ce48 --- /dev/null +++ b/x11-misc/set_opacity/files/makefile.patch @@ -0,0 +1,21 @@ +--- Makefile 2006-02-09 16:45:52.000000000 +0300 ++++ Makefile 2011-07-18 13:58:58.644703015 +0400 +@@ -1,14 +1,14 @@ + PACKAGES = xcomposite xfixes xdamage xrender +-LIBS=`pkg-config --libs ${PACKAGES}` -lm +-INCS=`pkg-config --cflags ${PACKAGES}` ++LIBS=$(shell pkg-config --libs $(PACKAGES)) -lm ++INCS=$(shell pkg-config --cflags $(PACKAGES)) + + .c.o: +- $(CC) $(CFLAGS) $(INCS) -c $*.c ++ $(CC) $(CFLAGS) $(INCS) -c $< -o $@ + + OBJS=set_opacity.o interface.o stack.o + + set_opacity: $(OBJS) +- $(CC) $(CFLAGS) -g -o $@ $(OBJS) $(LIBS) ++ $(CC) $(CFLAGS) $(LDFLAGS) -o $@ $(OBJS) $(LIBS) + + $(OBJS): interface.h stack.h + |