From: Felix Fietkau Date: Sun, 1 Apr 2007 11:43:11 +0000 (+0000) Subject: Fix portability patch for uClibc. Certain versions of GNU cp treat -P as --parent... X-Git-Tag: kamikaze_7.06~344 X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=d651ee4602816fc9856e58c9794ad1b72281d134;p=openwrt%2Fsvn-archive%2Fopenwrt.git Fix portability patch for uClibc. Certain versions of GNU cp treat -P as --parent, which is wrong here and -P should be implied by -R already. Fixes build on OSX with fink's fileutils installed. SVN-Revision: 6784 --- diff --git a/toolchain/uClibc/patches/150-portability.patch b/toolchain/uClibc/patches/150-portability.patch index 71afd50b57..c3a85107c8 100644 --- a/toolchain/uClibc/patches/150-portability.patch +++ b/toolchain/uClibc/patches/150-portability.patch @@ -23,7 +23,7 @@ Fix portability of build infrastructure $(INSTALL) -m 644 lib/lib*-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL).so \ $(PREFIX)$(RUNTIME_PREFIX)lib - cp -dRf lib/*.so.* $(PREFIX)$(RUNTIME_PREFIX)lib -+ cp -PRf lib/*.so.* $(PREFIX)$(RUNTIME_PREFIX)lib ++ cp -pRf lib/*.so.* $(PREFIX)$(RUNTIME_PREFIX)lib @if [ -x lib/ld-uClibc-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL).so ] ; then \ set -e; \ $(SHELL_SET_X); \