Cross posting to the Java Devel list

On 11/29/2011 09:53 PM, Matthew Harmsen wrote:
Andreas,

I would like to request your assistance on the following 'CMake' issue requested by Adam:
Basically, on Fedora 16 and later, the default location of Java Native Interface (JNI) jar files was
changed to reside under '/usr/lib/java' for 32-bit platforms, and '/usr/lib64/java' for 64-bit platforms.

Per the TRAC ticket, I made a change in the spec files to handle this via the 'jpackage-utils' RPM.
However, I do not know if 'CMake' can change the 'JAVA_LIB_INSTALL_DIR' macro located in
the 'pki/cmake/Modules/DefineInstallationPaths.cmake' file to rely on the '%{_jnidir}' macro of
'jpackage-utils' stored in the '/etc/rpm/macros.jpackage', or if there is a different way of handling
this where the following logic comes into play:
Your assistance on this matter is greatly appreciated.

Eventually, do you think that we may want the appropriate logic added to the '/etc/rpm/macros.cmake' file?
 
Thanks,
-- Matt


_______________________________________________
Pki-devel mailing list
Pki-devel@redhat.com
https://www.redhat.com/mailman/listinfo/pki-devel