openbsd-ports/games/warzone2100/patches/patch-src_Makefile_in
2016-12-19 12:29:01 +00:00

16 lines
745 B
Plaintext

$OpenBSD: patch-src_Makefile_in,v 1.4 2016/12/19 12:29:01 kirby Exp $
Fix SEPARATE_BUILD
--- src/Makefile.in.orig Sun Dec 4 01:18:34 2016
+++ src/Makefile.in Wed Dec 7 15:16:46 2016
@@ -1223,7 +1223,7 @@ uninstall-am: uninstall-binPROGRAMS
.PHONY: autorevision.h
autorevision.h autorevision.cache:
- cd $(top_srcdir) && ./build_tools/autorevision -t h -o $(abs_builddir)/autorevision.cache > $(abs_builddir)/autorevision.h.new
+ cd $(top_srcdir) && ./build_tools/autorevision -t h -o $(abs_srcdir)/autorevision.cache > $(abs_builddir)/autorevision.h.new
cmp -s autorevision.h.new autorevision.h && rm autorevision.h.new || mv -f autorevision.h.new autorevision.h
# Tell versions [3.59,3.63) of GNU make to not export all variables.