diff options
Diffstat (limited to 'mail/pulsar/patches/patch-aa')
-rw-r--r-- | mail/pulsar/patches/patch-aa | 70 |
1 files changed, 70 insertions, 0 deletions
diff --git a/mail/pulsar/patches/patch-aa b/mail/pulsar/patches/patch-aa new file mode 100644 index 00000000000..627e3363061 --- /dev/null +++ b/mail/pulsar/patches/patch-aa @@ -0,0 +1,70 @@ +$NetBSD: patch-aa,v 1.1.1.1 2004/03/28 21:02:15 martin Exp $ + +--- configure.in.orig 2003-09-07 17:23:12.000000000 +0200 ++++ configure.in 2004-03-14 11:23:23.000000000 +0100 +@@ -178,7 +178,7 @@ + old_LDFLAGS=$LDFLAGS + LIBS="$LIBS $TCP_WRAPPERS_LIBS" + LDFLAGS="$LDFLAGS $TCP_WRAPPERS_LDFLAGS" +- AC_CHECK_LIB(wrap, request_init, ++ AC_TRY_LINK([ int allow_severity; int deny_severity; ], [ request_init(); ], + [ + AC_DEFINE(WITH_TCP_WRAPPERS) + AC_CHECK_LIB(nsl, yp_get_default_domain, +@@ -187,10 +187,17 @@ + ] + ) + chk_tcp_wrappers=yes ++ dnl ** we can't yet enable tcp wrappers, it would ++ dnl ** spoil future tests due to the badly broken ++ dnl ** api in that library ++ LIBS=$old_LIBS ++ LDFLAGS=$old_LDFLAGS + ], + [ + LIBS=$old_LIBS + LDFLAGS=$old_LDFLAGS ++ TCP_WRAPPERS_LIBS="" ++ TCP_WRAPPERS_LIBS="" + AC_MSG_RESULT([tcp wrappers library not found, support disabled]) + ] + ) +@@ -253,7 +260,7 @@ + *) + if test -d $with_ssl; then + SSL_LDFLAGS="-L$with_ssl" +- SSL_LIBS="-lssl" ++ SSL_LIBS="-lcrypto -lssl" + else + SSL_LIBS="$with_ssl" + fi +@@ -267,7 +274,7 @@ + ) + if test "$with_ssl" = "yes"; then + if test -z "$SSL_LIBS"; then +- SSL_LIBS="-lssl" ++ SSL_LIBS="-lcrypto -lssl" + fi + old_LIBS=$LIBS + old_LDFLAGS=$LDFLAGS +@@ -332,6 +339,11 @@ + ] + ) + fi ++ ++dnl ** now we are ready to enable tcp wrappers libs ** ++LIBS="$LIBS $TCP_WRAPPERS_LIBS" ++LDFLAGS="$LDFLAGS $TCP_WRAPPERS_LDFLAGS" ++ + dnl ******************************************************** + dnl ******************************************************** + dnl Output a list of included optional components +@@ -375,7 +387,7 @@ + docdir=${prefix}/share/doc/pulsar-${VERSION} + else + mandir=${prefix}/man +- docdir=${prefix}/doc/pulsar-${VERSION} ++ docdir=${prefix}/share/doc/pulsar-${VERSION} + fi + sbindir=${prefix}/sbin + AC_MSG_RESULT([Executables will go in: ] ${prefix}/sbin) |