OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Ralf S. Engelschall
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 24-Jul-2003 10:29:06
Branch: HEAD Handle: 2003072409290500
Modified files:
openpkg-src/postfix postfix.spec
Log:
add with_fdsetsize option for allowing setting of FD_SETSIZE define
Summary:
Revision Changes Path
1.164 +8 -0 openpkg-src/postfix/postfix.spec
____________________________________________________________________________
patch -p0 <<'@@ .'
Index: openpkg-src/postfix/postfix.spec
============================================================================
$ cvs diff -u -r1.163 -r1.164 postfix.spec
--- openpkg-src/postfix/postfix.spec 24 Jul 2003 07:03:15 -0000 1.163
+++ openpkg-src/postfix/postfix.spec 24 Jul 2003 08:29:05 -0000 1.164
@@ -48,6 +48,7 @@
%option with_mysql no
%option with_ldap no
%option with_whoson no
+%option with_fdsetsize no
# list of sources
Source0:
ftp://ftp.porcupine.org/mirrors/postfix-release/official/postfix-%{V_postfix}.tar.gz
@@ -181,6 +182,13 @@
AUXLIBS="$AUXLIBS -lldap -llber -lssl -lcrypto"
%endif
AUXLIBS="$AUXLIBS %{l_fsl_ldflags} %{l_fsl_libs}"
+%if "%{with_fdsetsize}" != "no"
+%if "%{with_fdsetsize}" == "yes"
+ CCARGS="$CCARGS -DFD_SETSIZE=1024"
+%else
+ CCARGS="$CCARGS -DFD_SETSIZE=%{with_fdsetsize}"
+%endif
+%endif
%{l_make} %{l_mflags} makefiles \
CC="%{l_cc}" CCARGS="$CCARGS" AUXLIBS="$AUXLIBS"
@@ .
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]