|
|
|
@ -41,8 +41,8 @@ Patch0: imapd.patch
|
|
|
|
|
# build information |
|
|
|
|
Prefix: %{l_prefix} |
|
|
|
|
BuildRoot: %{l_buildroot} |
|
|
|
|
BuildPreReq: OpenPKG, openpkg >= 20020206, sasl, db, openssl, make |
|
|
|
|
PreReq: OpenPKG, openpkg >= 20020206, sasl, db, openssl |
|
|
|
|
BuildPreReq: OpenPKG, openpkg >= 20020206, sasl, db3, openssl, make |
|
|
|
|
PreReq: OpenPKG, openpkg >= 20020206, sasl, db3, openssl |
|
|
|
|
AutoReq: no |
|
|
|
|
AutoReqProv: no |
|
|
|
|
|
|
|
|
@ -55,8 +55,8 @@ AutoReqProv: no
|
|
|
|
|
|
|
|
|
|
%build |
|
|
|
|
PATH="%{l_prefix}/bin:$PATH"; export PATH |
|
|
|
|
cflags="-I%{l_prefix}/include" |
|
|
|
|
ldflags="-L%{l_prefix}/lib" |
|
|
|
|
cflags="-I%{l_prefix}/include/db3 -I%{l_prefix}/include" |
|
|
|
|
ldflags="-L%{l_prefix}/lib -ldb3" |
|
|
|
|
case "%{l_target}" in |
|
|
|
|
*-freebsd* ) ldflags="$ldflags -lpam -lcrypt" ;; |
|
|
|
|
*-solaris* ) ldflags="$ldflags -lpam" ;; |
|
|
|
|