forked from gentoo/gentoo
-
Notifications
You must be signed in to change notification settings - Fork 0
/
krystaldrop-0.7.2-deps.patch
26 lines (24 loc) · 1.13 KB
/
krystaldrop-0.7.2-deps.patch
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Index: krystaldrop/Makefile.dep
===================================================================
--- krystaldrop.orig/Makefile.dep
+++ krystaldrop/Makefile.dep
@@ -10,7 +10,6 @@ default:
$(DEP): dep/%.d: %.cpp
@test -d dep/$(dir $*) || mkdir -p dep/$(dir $*)
@$(SHELL) -ec '$(CC) $(CCFLAGS) $(DCFLAGS) $< \
- | sed '\''s/$(subst .,\.,$(notdir $*))\.o[ :]*/$(subst /,\/,$*).o \
- dep\/$(subst /,\/,$*).d : /g'\'' > $@; \
+ | sed '\''s/$(subst .,\.,$(notdir $*))\.o[ :]*/$(subst /,\/,$*).o dep\/$(subst /,\/,$*).d : /g'\'' > $@; \
[ -s $@ ] || rm -f $@'
Index: krystaldrop/Sources/Makefile.dep
===================================================================
--- krystaldrop.orig/Sources/Makefile.dep
+++ krystaldrop/Sources/Makefile.dep
@@ -10,7 +10,6 @@ default:
$(DEP): dep/%.d: %.cpp
@test -d dep/$(dir $*) || mkdir -p dep/$(dir $*)
@$(SHELL) -ec '$(CC) $(CCFLAGS) $(DCFLAGS) $< \
- | sed '\''s/$(subst .,\.,$(notdir $*))\.o[ :]*/$(subst /,\/,$*).o \
- dep\/$(subst /,\/,$*).d : /g'\'' > $@; \
+ | sed '\''s/$(subst .,\.,$(notdir $*))\.o[ :]*/$(subst /,\/,$*).o dep\/$(subst /,\/,$*).d : /g'\'' > $@; \
[ -s $@ ] || rm -f $@'