components/pdsh/patches/find-genders-lib.patch
author Niveditha Rau <Niveditha.Rau@Oracle.COM>
Fri, 04 Nov 2016 09:22:37 -0700
changeset 7293 a449e2e641be
parent 6500 eb9df404cf15
permissions -rw-r--r--
25049244 Undo the temporary Makefile changes made for getting gnome components to build

Until the genders package is available on Userland build machines, then we
need to get libgenders.so from the prototype area of the built genders
component. Unfortunately there are no configure smarts to allow this to
be easily done.

This patch will not be sent upstream. When genders is on the Userland build
machines then this patch can be removed, along with the CONFIGURE_ENV line
in the component Makefile.

--- pdsh-2.29/configure.orig	2016-07-24 16:55:41.644998411 -0700
+++ pdsh-2.29/configure	2016-07-24 17:05:14.064517775 -0700
@@ -24937,7 +24937,7 @@
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-lgenders  $LIBS"
+LIBS="$GENDERS_LD_OPTIONS -lgenders  $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
 _ACEOF
@@ -25024,7 +25024,7 @@
   echo $ECHO_N "(cached) $ECHO_C" >&6
 else
   ac_check_lib_save_LIBS=$LIBS
-LIBS="-lgenders  $LIBS"
+LIBS="$GENDERS_LD_OPTIONS -lgenders  $LIBS"
 cat >conftest.$ac_ext <<_ACEOF
 /* confdefs.h.  */
 _ACEOF