mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-26 05:02:18 +00:00
Replace the "-wholename" find(1) GNUism with the standard "-path" incantation.
This fixes installation on RELENG_7. Spotted by: QAT
This commit is contained in:
parent
d8db85347d
commit
99310fa8d9
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=230874
@ -1,11 +1,11 @@
|
||||
--- src/Makefile.in.orig 2008-11-02 19:33:40.000000000 +0100
|
||||
+++ src/Makefile.in 2008-11-02 19:33:49.000000000 +0100
|
||||
@@ -1783,7 +1783,7 @@
|
||||
game_config.o: revision.hpp
|
||||
.PRECIOUS: revision.hpp
|
||||
revision.hpp: FORCE
|
||||
- if [ "$(REVISION)" == "" ] || [ "$(REVISION)" == "exported" ]; then echo '' >/tmp/westemp$$$$; \
|
||||
+ if [ "$(REVISION)" = "" ] || [ "$(REVISION)" = "exported" ]; then echo '' >/tmp/westemp$$$$; \
|
||||
else echo '#define REVISION "$(REVISION)"' >/tmp/westemp$$$$; fi;\
|
||||
if cmp -s revision.hpp /tmp/westemp$$$$ 2>/dev/null; then :; else cp /tmp/westemp$$$$ revision.hpp; fi; \
|
||||
if [ -e /tmp/westemp$$$$ ]; then rm /tmp/westemp$$$$; fi
|
||||
--- Makefile.in.orig 2009-03-24 16:52:32.000000000 +0100
|
||||
+++ Makefile.in 2009-03-24 16:52:43.000000000 +0100
|
||||
@@ -279,7 +279,7 @@
|
||||
bin_SCRIPTS =
|
||||
|
||||
# Ignore junk -- object files, editor backup files, wmllint backup files.
|
||||
-findfilterflags = ! \( -name .svn -prune -o -name ".\#*" -o -name "*~" -o -name "*bak" -o -name 'Makefile' -o -name '*Makefile' -o -type d -o -wholename "data/test/*" \)
|
||||
+findfilterflags = ! \( -name .svn -prune -o -name ".\#*" -o -name "*~" -o -name "*bak" -o -name 'Makefile' -o -name '*Makefile' -o -type d -o -path "data/test/*" \)
|
||||
|
||||
# List all datafiles, ignoring junk
|
||||
finddata = (cd $(top_srcdir) && find data fonts icons images sounds $(findfilterflags) -print )
|
||||
|
11
games/wesnoth-devel/files/patch-src-Makefile.in
Normal file
11
games/wesnoth-devel/files/patch-src-Makefile.in
Normal file
@ -0,0 +1,11 @@
|
||||
--- src/Makefile.in.orig 2008-11-02 19:33:40.000000000 +0100
|
||||
+++ src/Makefile.in 2008-11-02 19:33:49.000000000 +0100
|
||||
@@ -1783,7 +1783,7 @@
|
||||
game_config.o: revision.hpp
|
||||
.PRECIOUS: revision.hpp
|
||||
revision.hpp: FORCE
|
||||
- if [ "$(REVISION)" == "" ] || [ "$(REVISION)" == "exported" ]; then echo '' >/tmp/westemp$$$$; \
|
||||
+ if [ "$(REVISION)" = "" ] || [ "$(REVISION)" = "exported" ]; then echo '' >/tmp/westemp$$$$; \
|
||||
else echo '#define REVISION "$(REVISION)"' >/tmp/westemp$$$$; fi;\
|
||||
if cmp -s revision.hpp /tmp/westemp$$$$ 2>/dev/null; then :; else cp /tmp/westemp$$$$ revision.hpp; fi; \
|
||||
if [ -e /tmp/westemp$$$$ ]; then rm /tmp/westemp$$$$; fi
|
Loading…
Reference in New Issue
Block a user