SF.net SVN: gar:[23156] csw/mgar/pkg/openssl1/trunk/Makefile
chninkel at users.sourceforge.net
chninkel at users.sourceforge.net
Fri Mar 7 23:41:34 CET 2014
Revision: 23156
http://sourceforge.net/p/gar/code/23156
Author: chninkel
Date: 2014-03-07 22:41:33 +0000 (Fri, 07 Mar 2014)
Log Message:
-----------
only remove sse2 capability when capabilities flag are present
Modified Paths:
--------------
csw/mgar/pkg/openssl1/trunk/Makefile
Modified: csw/mgar/pkg/openssl1/trunk/Makefile
===================================================================
--- csw/mgar/pkg/openssl1/trunk/Makefile 2014-03-07 20:33:16 UTC (rev 23155)
+++ csw/mgar/pkg/openssl1/trunk/Makefile 2014-03-07 22:41:33 UTC (rev 23156)
@@ -241,7 +241,8 @@
# 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 && [ "$(GARCH)" = "i386" ]; then \
+ if command -v elfedit >/dev/null 2>&1 && [ "$(GARCH)" = "i386" ] && \
+ /usr/ccs/bin/dump -Lv "$(DESTDIR)/$(libdir)/libcrypto.so.1.0.0" | grep SUNW_CAP >/dev/null; 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