On Thu, May 27, 2010 at 09:58:43PM +0200, Remy Bohmer wrote:
> From: Bart vdr. Meulen <[email protected]>
> 
> Signed-off-by: Bart vdr. Meulen <[email protected]>
> ---
>  patches/figlet222/prefix-destdir-crosscompile.diff |    2 +-
>  rules/figlet.make                                  |    2 +-
>  2 files changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/patches/figlet222/prefix-destdir-crosscompile.diff 
> b/patches/figlet222/prefix-destdir-crosscompile.diff
> index 90b5a54..198b908 100644
> --- a/patches/figlet222/prefix-destdir-crosscompile.diff
> +++ b/patches/figlet222/prefix-destdir-crosscompile.diff
> @@ -35,7 +35,7 @@ Index: Makefile
>  +CC ?= gcc
>  +CFLAGS ?= -g -O2
>   
> -+prefix = /usr/local
> ++prefix ?= /usr/local
>   # Where the executables should be put
>  -DESTDIR = /usr/local/bin
>  +BINDIR = $(prefix)/bin
> diff --git a/rules/figlet.make b/rules/figlet.make
> index 3d0b018..1ca281d 100644
> --- a/rules/figlet.make
> +++ b/rules/figlet.make
> @@ -38,7 +38,7 @@ $(FIGLET_SOURCE):
>  # 
> ----------------------------------------------------------------------------
>  
>  FIGLET_PATH          := PATH=$(CROSS_PATH)
> -FIGLET_MAKE_ENV              := $(CROSS_ENV)
> +FIGLET_MAKE_ENV              := prefix=/usr $(CROSS_ENV)
>  FIGLET_INSTALL_OPT   := prefix=/usr install

add prefix=/usr to FIGLET_MAKE_OPT and drop the patch

>  
>  # 
> ----------------------------------------------------------------------------
> -- 
> 1.7.0.4
> 
> 
> -- 
> ptxdist mailing list
> [email protected]
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

-- 
ptxdist mailing list
[email protected]

Reply via email to