Ver código fonte

hack to make openssh guess right ssllibversion on darwin

Herbert Schmid 21 anos atrás
pai
commit
1cb9ff08d8
1 arquivos alterados com 8 adições e 1 exclusões
  1. 8 1
      openssh/openssh.spec

+ 8 - 1
openssh/openssh.spec

@@ -42,7 +42,7 @@ Class:        CORE
 Group:        Security
 License:      BSD
 Version:      %{V_base}%{V_portable}
-Release:      20041018
+Release:      20041227
 
 #   package options
 %option       with_fsl          yes
@@ -155,6 +155,13 @@ AutoReqProv:  no
     %patch -p0 -P 5
 %endif
     sed -e 's;@l_prefix@;%{l_prefix};g' %{SOURCE openssh.patch.scpbindir} | %{l_patch} -p0 -b
+    case "%{l_platform -t}" in
+        *-darwin* )
+            %{l_shtool} subst \
+                -e 's;LIBS="-lcrypto $LIBS";LIBS="%{l_prefix}/lib/libcrypto.a $LIBS";' \
+               configure
+            ;;
+    esac
 
 %build
     #   configure package