|
|
@@ -38,7 +38,7 @@ Distribution: OpenPKG [BASE]
|
|
|
Group: FTP
|
|
|
License: GPL
|
|
|
Version: 1.2.7
|
|
|
-Release: 20021205
|
|
|
+Release: 20021206
|
|
|
|
|
|
# list of sources
|
|
|
Source0: ftp://ftp.proftpd.net/distrib/source/proftpd-%{version}.tar.bz2
|
|
|
@@ -50,7 +50,7 @@ Source4: rc.proftpd
|
|
|
# build information
|
|
|
Prefix: %{l_prefix}
|
|
|
BuildRoot: %{l_buildroot}
|
|
|
-BuildPreReq: OpenPKG, openpkg >= 20020206, make
|
|
|
+BuildPreReq: OpenPKG, openpkg >= 20020206, make, ncurses
|
|
|
PreReq: OpenPKG, openpkg >= 20020206
|
|
|
%if "%{with_pam}" == "yes"
|
|
|
BuildPreReq: PAM
|
|
|
@@ -91,8 +91,11 @@ AutoReqProv: no
|
|
|
CC="%{l_cc}" \
|
|
|
CFLAGS="%{l_cflags -O}" \
|
|
|
%if "%{with_pam}" == "yes"
|
|
|
- CPPFLAGS="-I`%{l_prefix}/etc/rc --query pam_incdir`" \
|
|
|
- LDFLAGS="-L`%{l_prefix}/etc/rc --query pam_libdir`" \
|
|
|
+ CPPFLAGS="-I%{l_prefix}/include/ncurses -I`%{l_prefix}/etc/rc --query pam_incdir`" \
|
|
|
+ LDFLAGS="-L%{l_prefix}/lib -L`%{l_prefix}/etc/rc --query pam_libdir`" \
|
|
|
+%else
|
|
|
+ CPPFLAGS="-I%{l_prefix}/include/ncurses" \
|
|
|
+ LDFLAGS="-L%{l_prefix}/lib" \
|
|
|
%endif
|
|
|
./configure \
|
|
|
--prefix=%{l_prefix} \
|