[packages/openssh] Apply -disable_ldap.patch only when building without ldap
megabajt
megabajt at pld-linux.org
Thu Feb 14 12:28:22 CET 2013
commit 7effd32886b98ac0bd21c666d8cad1efcbfa8f35
Author: Marcin Banasiak <marcin.banasiak at gmail.com>
Date: Thu Feb 14 12:26:13 2013 +0100
Apply -disable_ldap.patch only when building without ldap
openssh.spec | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/openssh.spec b/openssh.spec
index 1b487ff..0631868 100644
--- a/openssh.spec
+++ b/openssh.spec
@@ -540,7 +540,7 @@ openldap-a.
%patch12 -p1
%patch13 -p1
%patch14 -p1
-%patch15 -p1
+%{!?with_ldap:%patch15 -p1}
%if "%{pld_release}" == "ac"
# fix for missing x11.pc
================================================================
---- gitweb:
http://git.pld-linux.org/gitweb.cgi/packages/openssh.git/commitdiff/7effd32886b98ac0bd21c666d8cad1efcbfa8f35
More information about the pld-cvs-commit
mailing list