summaryrefslogtreecommitdiff
path: root/libc/debian/patches/zic-gnu-make-workaround.patch
blob: 4cad738665b9dff8f918082e3d54c7a1c3df0a86 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
Index: b/usr/src/cmd/zic/Makefile
===================================================================
--- a/usr/src/cmd/zic/Makefile
+++ b/usr/src/cmd/zic/Makefile
@@ -94,7 +94,7 @@ clean:
 
 lint: lint_SRCS
 
-$(NOBJS): $$(@F:.o=.c)
+$(NOBJS): $$(patsubst %.o,%.c,$$(@F))
 	$(NATIVECC) -O $(NCPPFLAGS) -c -o $@ $(@F:.o=.c)
 
 $(NATIVE)/zic.o: $(NATIVE)/tzfile.h