SF.net SVN: gar:[22327] csw/mgar/pkg/openssl1/trunk/Makefile

chninkel at users.sourceforge.net chninkel at users.sourceforge.net
Mon Oct 28 14:23:16 CET 2013


Revision: 22327
          http://gar.svn.sourceforge.net/gar/?rev=22327&view=rev
Author:   chninkel
Date:     2013-10-28 13:23:16 +0000 (Mon, 28 Oct 2013)
Log Message:
-----------
openssl1/trunk: fix i386 detection in SSE2 hardware capability removal code

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

Modified: csw/mgar/pkg/openssl1/trunk/Makefile
===================================================================
--- csw/mgar/pkg/openssl1/trunk/Makefile	2013-10-27 21:17:53 UTC (rev 22326)
+++ csw/mgar/pkg/openssl1/trunk/Makefile	2013-10-28 13:23:16 UTC (rev 22327)
@@ -225,7 +225,7 @@
 # openssl is able to select it at runtime and the Solaris OS support SSE2 since
 # Solaris 9 4/04 (according to "Sun Studio 12: C++ User's Guide")
 post-install:
-	if command -v elfedit >/dev/null 2>&1 && [[ "$(uname -p)" = "i386" ]]; then \
+	if command -v elfedit >/dev/null 2>&1 && [ "$(GARCH)" = "i386" ]; then \
 		echo " ==> Removing the SSE2 hardware capability from libcrypto"; \
 		chmod +w "$(DESTDIR)/$(libdir)/libcrypto.so.1.0.0"; \
 		elfedit -e 'cap:hw1 -and -cmp sse2' "$(DESTDIR)/$(libdir)/libcrypto.so.1.0.0"; \

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