OpenPKG CVS Repository
http://cvs.openpkg.org/
____________________________________________________________________________
Server: cvs.openpkg.org Name: Michael Schloh
Root: /e/openpkg/cvs Email: [EMAIL PROTECTED]
Module: openpkg-src Date: 09-Dec-2002 22:20:27
Branch: HEAD Handle: 2002120921202700
Modified files:
openpkg-src/postfix postfix.spec
Log:
Fix building with options by reordering libraries.
Summary:
Revision Changes Path
1.90 +4 -4 openpkg-src/postfix/postfix.spec
____________________________________________________________________________
Index: openpkg-src/postfix/postfix.spec
============================================================
$ cvs diff -u -r1.89 -r1.90 postfix.spec
--- openpkg-src/postfix/postfix.spec 9 Dec 2002 10:10:43 -0000 1.89
+++ openpkg-src/postfix/postfix.spec 9 Dec 2002 21:20:27 -0000 1.90
@@ -149,16 +149,16 @@
CCARGS="$CCARGS -DHAS_MYSQL -I%{l_prefix}/include/mysql"
AUXLIBS="$AUXLIBS -L%{l_prefix}/lib/mysql -lmysqlclient -lz -lm"
%endif
-%if "%{with_tls}" == "yes"
- CCARGS="$CCARGS -DHAS_SSL"
- AUXLIBS="$AUXLIBS -lssl -lcrypto"
-%endif
%if "%{with_sasl}" == "yes"
CCARGS="$CCARGS -DUSE_SASL_AUTH -I%{l_prefix}/include/sasl"
AUXLIBS="$AUXLIBS -lsasl2"
if [ -f /usr/lib/libdl.so -o -f /usr/lib/libdl.a ]; then
AUXLIBS="$AUXLIBS -ldl"
fi
+%endif
+%if "%{with_tls}" == "yes"
+ CCARGS="$CCARGS -DHAS_SSL"
+ AUXLIBS="$AUXLIBS -lssl -lcrypto"
%endif
AUXLIBS="$AUXLIBS `%{l_prefix}/bin/fsl-config --all --ldflags --libs`"
%{l_make} %{l_mflags} makefiles \
______________________________________________________________________
The OpenPKG Project www.openpkg.org
CVS Repository Commit List [EMAIL PROTECTED]