From c333e9dad66ed25a906fba8146a6fc25b0e83ff8 Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Mon, 8 Jul 2024 10:58:06 +0200 Subject: speedo: Set PREFIX for bzip2 build also for Unix. -- bzip2 is a make-only package and thus we can't set the prefix with configure. We need to set PREFIX here so that the install target: if ( test ! -d $(PREFIX)/lib ) ; then mkdir -p $(PREFIX)/lib;fi [...] does not try to install to the default PREFIX /usr/local/lib. --- NEWS | 3 +++ build-aux/speedo.mk | 3 +++ 2 files changed, 6 insertions(+) diff --git a/NEWS b/NEWS index 27935d72d..61e33ff05 100644 --- a/NEWS +++ b/NEWS @@ -2,6 +2,9 @@ Noteworthy changes in version 2.5.1 (unreleased) ------------------------------------------------ + Release-info: https://dev.gnupg.org/T7191 + + Noteworthy changes in version 2.5.0 (2024-07-05) ------------------------------------------------ diff --git a/build-aux/speedo.mk b/build-aux/speedo.mk index c4edb3547..942ffa73f 100644 --- a/build-aux/speedo.mk +++ b/build-aux/speedo.mk @@ -593,6 +593,9 @@ speedo_pkg_bzip2_make_args = \ speedo_pkg_bzip2_make_args_inst = \ PREFIX=$(idir) CC="$(host)-gcc" AR="$(host)-ar" RANLIB="$(host)-ranlib" +else +speedo_pkg_bzip2_make_args_inst = \ + PREFIX=$(idir) endif speedo_pkg_w64_libiconv_configure = \ -- cgit v1.2.3