void-packages/srcpkgs/unclutter-xfixes/patches/make.patch
2016-09-21 15:09:33 +02:00

13 lines
474 B
Diff

--- Makefile.orig
+++ Makefile
@@ -30 +29,0 @@ all: clean $(TARGET) mans
-.PHONY: $(TARGET)
@@ -32 +31 @@ $(TARGET): $(OBJS)
- $(CC) $(CFLAGS) -o $(TARGET) $(OBJS) $(LIBS)
+ $(CC) $(LDFLAGS) -o $(TARGET) $(OBJS) $(LIBS)
@@ -35 +34 @@ $(ODIR)/%.o: $(SDIR)/%.c $(INCS)
- $(CC) -D'__VERSION="$(shell git describe --all --long --always)"' $(CFLAGS) -o $@ -c $<
+ $(CC) $(CFLAGS) -Iinclude -o $@ -c $<
@@ -38 +37 @@ $(ODIR)/%.o: $(SDIR)/%.c $(INCS)
-install: $(TARGET)
+install: