Browse Source

seems to insist on OpenSSL support

Ralf S. Engelschall 23 years ago
parent
commit
f7476eeca0
1 changed files with 5 additions and 3 deletions
  1. 5 3
      nail/nail.spec

+ 5 - 3
nail/nail.spec

@@ -33,7 +33,7 @@ Distribution: OpenPKG [EVAL]
 Group:        Mail
 License:      BSD
 Version:      10.2
-Release:      20021123
+Release:      20030111
 
 #   list of sources
 Source0:      http://omnibus.ruf.uni-freiburg.de/~gritter/archive/nail/nail-%{version}.tar.gz
@@ -41,7 +41,7 @@ Source0:      http://omnibus.ruf.uni-freiburg.de/~gritter/archive/nail/nail-%{ve
 #   build information
 Prefix:       %{l_prefix}
 BuildRoot:    %{l_buildroot}
-BuildPreReq:  OpenPKG, openpkg >= 20020206, MTA
+BuildPreReq:  OpenPKG, openpkg >= 20020206, MTA, openssl
 PreReq:       OpenPKG, openpkg >= 20020206, MTA
 AutoReq:      no
 AutoReqProv:  no
@@ -60,11 +60,13 @@ AutoReqProv:  no
 %build
     CC="%{l_cc}" \
     CFLAGS="%{l_cflags -O}" \
+    CPPFLAGS="%{l_cppflags}" \
+    LDFLAGS="%{l_ldflags}" \
     ./configure \
         --prefix=%{l_prefix} \
         --with-rcfile=%{l_prefix}/etc/nail/nailrc \
         --with-sendmail=%{l_prefix}/sbin/sendmail \
-        --without-openssl \
+        --with-openssl \
         --enable-all-chars \
         --disable-nls
     %{l_make} %{l_mflags -O}