summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOve Kaaven <ovek@debian.org>2010-01-18 09:16:23 +0100
committerPatrick Ohly <patrick.ohly@intel.com>2010-01-18 09:20:29 +0100
commita29f5f37d3d13a46613c9eaf1867dcf08ed359f7 (patch)
treed80007e227c3fbf4cade61d8c5d7651d7cbbbffb
parente66ee453ba3b1fb0a37747f8b5236858ebad1e03 (diff)
autotools: unnecessarily depends on too new findutils (MB #9112)libsynthesis_3.2.0.35+syncevolution-0-9-2syncevolution-0-9-x
Nokia's Maemo 5 operating system, codename "Fremantle", used on the Nokia N900, is forked from a fairly old Debian snapshot, a couple of years old now, and the findutils used in its build environment isn't the newest one. It doesn't support the -wholename option. Fortunately the findutils man page says: -wholename pattern See -path. This alternative is less portable than -path. Hence, it sounds like -path is a more portable alternative, and indeed, -path is supported by the older findutils used in Fremantle. (use "git reset HEAD <file>..." to unstage)
-rwxr-xr-xsrc/gen-makefile-am.sh4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gen-makefile-am.sh b/src/gen-makefile-am.sh
index 3758137..0ab7b1d 100755
--- a/src/gen-makefile-am.sh
+++ b/src/gen-makefile-am.sh
@@ -85,8 +85,8 @@ LIBSYNTHESISSDK_SOURCES_ONLY=`echo $LIBSYNTHESISSDK_SOURCES_ONLY`
# files needed in libsmltk
LIBSMLTK_SOURCES=`find syncml_tk \
\( -name '*.cpp' -o -name '*.[ch]' \) \
- \! \( -wholename syncml_tk/src/sml/\*/palm/\* -o \
- -wholename syncml_tk/src/sml/\*/win/\* \)`
+ \! \( -path syncml_tk/src/sml/\*/palm/\* -o \
+ -path syncml_tk/src/sml/\*/win/\* \)`
LIBSMLTK_SOURCES=`echo $LIBSMLTK_SOURCES`
# header files required for using libsynthesissdk,