[Openais] [patch 13/13] Calculate the default path based on
the project value of PREFIX
Steven Dake
sdake at redhat.com
Sun Sep 9 00:12:17 PDT 2007
merged
I think that should be all of them. Let me know if there is anything
missing that is blocking your efforts.
I would like to make a new release of openais this week with these
changes so let me know how they work for you.
regards
-steve
On Fri, 2007-08-24 at 11:54 +0200, beekhof at gmail.com wrote:
> plain text document attachment (default-from-prefix.patch)
> Requires: prefix-destdir.patch, bug-Makefile.patch
> ---
> lcr/Makefile | 2 +-
> lcr/lcr_ifact.c | 3 ++-
> 2 files changed, 3 insertions(+), 2 deletions(-)
>
> Index: lcr/Makefile
> ===================================================================
> --- lcr/Makefile.orig 2007-08-23 20:16:50.000000000 +0200
> +++ lcr/Makefile 2007-08-23 21:12:12.000000000 +0200
> @@ -26,7 +26,7 @@
> #
> include ../Makefile.inc
>
> -override CFLAGS += -I../include
> +override CFLAGS += -I../include -DPREFIX='"$(PREFIX)"'
> override LDFLAGS += -L./ ${DYFLAGS}
>
> ifeq (${OPENAIS_COMPAT}, LINUX)
> Index: lcr/lcr_ifact.c
> ===================================================================
> --- lcr/lcr_ifact.c.orig 2007-08-23 20:22:41.000000000 +0200
> +++ lcr/lcr_ifact.c 2007-08-23 21:12:52.000000000 +0200
> @@ -178,7 +178,8 @@ static void defaults_path_build (void)
> path_list[0] = strdup (cwd);
> path_list_entries++;
> }
> - path_list[path_list_entries++] = "/usr/libexec/lcrso";
> +
> + path_list[path_list_entries++] = PREFIX"/libexec/lcrso";
> }
>
> static void ld_library_path_build (void)
>
More information about the Openais
mailing list