<div dir="ltr">Has this been signed off by the SBo admins?  I see that apulse now has the "[ -e /lib/libc.so.6 ] && COMPAT32="${COMPAT32:-yes}" check in the ready queue.<div><br></div><div>--Larry</div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Dec 17, 2014 at 4:53 PM, B Watson <span dir="ltr"><<a href="mailto:yalhcru@gmail.com" target="_blank">yalhcru@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class="">On 12/17/14, Ryan P.C. McQuen <<a href="mailto:ryan.q@linux.com">ryan.q@linux.com</a>> wrote:<br>
> Furthermore, does someone know a better way to perform this check.<br>
> Maybe I should be relying on checking glibc or gcc ...<br>
<br>
</span>That's what I'd do. In the section that checks ARCH:<br>
<br>
...<br>
elif [ "$ARCH" = "x86_64" ]; then<br>
  SLKCFLAGS="-O2 -fPIC"<br>
  LIBDIRSUFFIX="64"<br>
  [ -e /lib/libc.so.6 ] && COMPAT32="${COMPAT32:-yes}"<br>
else<br>
...<br>
<br>
Doing it that way will autodetect, but still allow the user to override<br>
with COMPAT32=no in the environment. It also avoids the use of find,<br>
which is kinda slow and heavy.<br>
<br>
As to whether it's a good idea... I don't see why not. The existing<br>
apulse.SlackBuild already has multilib-specific code, this just automates<br>
enabling it (instead of user having to manually COMPAT32=yes).<br>
<div class="HOEnZb"><div class="h5">_______________________________________________<br>
SlackBuilds-users mailing list<br>
<a href="mailto:SlackBuilds-users@slackbuilds.org">SlackBuilds-users@slackbuilds.org</a><br>
<a href="http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users" target="_blank">http://lists.slackbuilds.org/mailman/listinfo/slackbuilds-users</a><br>
Archives - <a href="http://lists.slackbuilds.org/pipermail/slackbuilds-users/" target="_blank">http://lists.slackbuilds.org/pipermail/slackbuilds-users/</a><br>
FAQ - <a href="http://slackbuilds.org/faq/" target="_blank">http://slackbuilds.org/faq/</a><br>
<br>
</div></div></blockquote></div><br></div>