From d013ce9bfb5e8f2c2fac75be2d8c134bd90242e1 Mon Sep 17 00:00:00 2001 From: Hector Oron Date: Tue, 11 Aug 2009 18:44:21 +0200 Subject: [PATCH 3/4] Minor fix on rebuild [Ron Lee] * It doesn't hurt not to fail if these already exist, even though they normally shouldn't on the first pass through a clean build tree. I did have a rebuild fail due to this though and that shouldn't happen either. Signed-off-by: Hector Oron --- gcc-4.4/debian/rules.d/binary-libstdcxx-cross.mk | 4 ++-- 1 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc-4.4/debian/rules.d/binary-libstdcxx-cross.mk b/gcc-4.4/debian/rules.d/binary-libstdcxx-cross.mk index 18ca49a..e5e6c9d 100644 --- a/gcc-4.4/debian/rules.d/binary-libstdcxx-cross.mk +++ b/gcc-4.4/debian/rules.d/binary-libstdcxx-cross.mk @@ -146,8 +146,8 @@ $(binary_stamp)-libstdcxx: $(install_stamp) dh_makeshlibs -p$(p_lib) -V '$(p_lib) (>= $(DEB_STDCXX_SOVERSION))' -n sed s/$(cross_lib_arch)//g < debian/$(p_lib)/DEBIAN/shlibs > debian/$(p_lib)/DEBIAN/shlibs.fixed mv debian/$(p_lib)/DEBIAN/shlibs.fixed debian/$(p_lib)/DEBIAN/shlibs - mkdir debian/$(p_lib)-deps - ln -s "`readlink -e /usr/$(DEB_TARGET_GNU_TYPE)/lib`" debian/$(p_lib)-deps/lib + mkdir -p debian/$(p_lib)-deps + ln -nfs "`readlink -e /usr/$(DEB_TARGET_GNU_TYPE)/lib`" debian/$(p_lib)-deps/lib ARCH=$(DEB_TARGET_ARCH) MAKEFLAGS="CC=something" dh_shlibdeps -p$(p_lib) -L$(p_lib)-deps sed 's/\(lib[^ ]*\) /\1$(cross_lib_arch) /g' < debian/$(p_lib).substvars > debian/$(p_lib).substvars.new mv debian/$(p_lib).substvars.new debian/$(p_lib).substvars -- 1.6.3.3