[csw-devel] SF.net SVN: gar:[11741] csw/mgar/pkg/openssl/trunk/Makefile

chninkel at users.sourceforge.net chninkel at users.sourceforge.net
Sun Nov 28 20:35:30 CET 2010


Revision: 11741
          http://gar.svn.sourceforge.net/gar/?rev=11741&view=rev
Author:   chninkel
Date:     2010-11-28 19:35:29 +0000 (Sun, 28 Nov 2010)

Log Message:
-----------
openssl: some changes to be able to build the PKCS11 engine

Modified Paths:
--------------
    csw/mgar/pkg/openssl/trunk/Makefile

Modified: csw/mgar/pkg/openssl/trunk/Makefile
===================================================================
--- csw/mgar/pkg/openssl/trunk/Makefile	2010-11-28 12:04:15 UTC (rev 11740)
+++ csw/mgar/pkg/openssl/trunk/Makefile	2010-11-28 19:35:29 UTC (rev 11741)
@@ -10,6 +10,9 @@
 # software causes damage.
 #####################################################################
 
+# Uncomment to enable PKCS11 engine
+# PKCS11 = 1
+
 ###### Package information #######
 
 GARNAME = openssl
@@ -103,6 +106,12 @@
 
 ##### Build and installation information #####
 
+# Sun Studio 12 incorrectly outputs v8plus code instead of
+# v8 code under Solaris 10 so we use Sun Studio 12 update 1
+ifneq ($(shell /usr/bin/uname -r),5.9)
+	GARCOMPILER = SOS12U1
+endif
+
 # The list of instructions set for which we will 
 # provide optimized libraries and binaries
 EXTRA_BUILD_ISAS_i386 = pentium_pro amd64
@@ -153,8 +162,11 @@
 
 # support for pkcs11 engine http://blogs.sun.com/chichang1/entry/how_to_integrate_pkcs11_engine
 ifdef PKCS11
+	PACKAGING_PLATFORMS = solaris9-sparc solaris9-i386 solaris10-sparc solaris10-i386
+ifneq ($(shell /usr/bin/uname -r),5.9) 
 	PATCHFILES += pkcs11_engine-0.9.8o.patch.2010-09-03
 	CONFIGURE_ARGS += --pk11-libname=$(abspath /usr/lib/$(MM_LIBDIR)/libpkcs11.so) 
+endif
 endif 
 
 include gar/category.mk


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.


More information about the devel mailing list