From a53b74e7d12756e45593e9e59bcea9897599b136 Mon Sep 17 00:00:00 2001 From: Alejandro Mery Date: Sat, 15 Mar 2008 19:47:19 +0000 Subject: [PATCH] bcron: Fixed cross compilation by using the right $AR and $RANLIB --- base/bcron/AR_RANLIB.patch | 29 +++++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 base/bcron/AR_RANLIB.patch diff --git a/base/bcron/AR_RANLIB.patch b/base/bcron/AR_RANLIB.patch new file mode 100644 index 000000000..d516a5a14 --- /dev/null +++ b/base/bcron/AR_RANLIB.patch @@ -0,0 +1,29 @@ +# --- SDE-COPYRIGHT-NOTE-BEGIN --- +# This copyright note is auto-generated by ./scripts/Create-CopyPatch. +# +# Filename: package/.../bcron/AR_RANLIB.patch +# Copyright (C) 2008 The OpenSDE Project +# +# More information can be found in the files COPYING and README. +# +# This patch file is dual-licensed. It is available under the license the +# patched project is licensed under, as long as it is an OpenSource license +# as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms +# of the GNU General Public License as published by the Free Software +# Foundation; either version 2 of the License, or (at your option) any later +# version. +# --- SDE-COPYRIGHT-NOTE-END --- + +--- ./Makefile.orig 2008-03-15 19:40:01.000000000 +0000 ++++ ./Makefile 2008-03-15 19:40:51.000000000 +0000 +@@ -130,8 +130,8 @@ + ( echo '#!/bin/sh'; \ + echo 'main="$$1"; shift';\ + echo 'rm -f "$$main"';\ +- echo 'ar cr "$$main" $${1+"$$@"}';\ +- echo 'ranlib "$$main"';\ ++ echo '$${AR:-ar} cr "$$main" $${1+"$$@"}';\ ++ echo '$${RANLIB:-ranlib} "$$main"';\ + ) >makelib + chmod 755 makelib +