[packages/openssl102: 206/432] - 'purify' bcond added

adwol adwol at pld-linux.org
Sat Sep 29 01:18:54 CEST 2018


commit 2403ba81605690a860ac189475d8c77dc611fc27
Author: Jacek Konieczny <jajcus at pld-linux.org>
Date:   Tue Jun 13 09:21:00 2006 +0000

    - 'purify' bcond added
    
    Changed files:
        openssl.spec -> 1.151

 openssl.spec | 6 +++++-
 1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/openssl.spec b/openssl.spec
index 66488f2..f2a3bdd 100644
--- a/openssl.spec
+++ b/openssl.spec
@@ -1,3 +1,7 @@
+#
+# Conditional build:
+%bcond_with purify	# Compile openssl with \-DPURIFY, usefull when one wants to
+			# use valgrind debugger against openssl-linked programs
 %include	/usr/lib/rpm/macros.perl
 Summary:	OpenSSL Toolkit libraries for the "Secure Sockets Layer" (SSL v2/v3)
 Summary(de):	Secure Sockets Layer (SSL)-Kommunikationslibrary
@@ -193,7 +197,7 @@ touch Makefile.*
 
 %{__perl} util/perlpath.pl %{__perl}
 
-OPTFLAGS="%{rpmcflags}"
+OPTFLAGS="%{rpmcflags} %{?with_purify:-DPURIFY}"
 export OPTFLAGS
 ./Configure \
 	--openssldir=%{_var}/lib/%{name} \
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/openssl102.git/commitdiff/9fc1b1b87b259e8a327c99835865e91a391efc9e



More information about the pld-cvs-commit mailing list