https://issues.apache.org/SpamAssassin/show_bug.cgi?id=6609

--- Comment #13 from Warren Togami <[email protected]> 2011-05-30 13:09:22 UTC 
---
(In reply to comment #12)
> Technically testing for "_64" is insufficient because this is a hard-coded
> kludge that will work only on x86_64.  ppc64 and s390x are other common RH/FC
> 64bit archs.  Less common but in use are sparc64, and arm<something> that have
> 64bit variants.  Some distros call x86_64 "amd64".  So we're much better off
> figuring out where "lib" vs. "lib64" can be read from the userspace 
> environment
> in exactly the same manner that spamassassin's build is inheriting it.  This
> way we don't have to hard-code every possible 64bit arch name, some of which
> may not even exist yet.

Found something.  Try "rpm --showrc" which dumps all macros.  The _lib and
_libdir macro will allow you to differentiate lib and lib64 from the userspace
environment.  This will always match the path that spamassassin is inhering
from <somewhere> as libdir.  I suppose this would be adequate.

-- 
Configure bugmail: 
https://issues.apache.org/SpamAssassin/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug.

Reply via email to