DragonFly BSD
DragonFly submit List (threaded) for 2006-09
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

Fix SSL support for evolution-data-server


From: walt <wa1ter@xxxxxxxxxxxxx>
Date: Sun, 10 Sep 2006 11:59:31 -0700

The pkgsrc version of evolution doesn't support SSL on DragonFly
because the 'configure' script in evolution-data-server is broken.

The patch below is a drop-in replacement for patch-ak in the
evolution-data-server package.

The problem it fixes:
The configure script uses PTHREAD_LIB before it is initialized,
so the test for NSS (NetScape Secure Sockets) fails on DFly.

=======================
$NetBSD: patch-ak,v 1.4 2006/06/11 15:05:39 wiz Exp $

Needed to have a NULL macro in the program that follows these includes.

--- configure.orig	2006-07-31 08:37:06.000000000 -0700
+++ configure
@@ -412,6 +412,7 @@ subdirs=
 MFLAGS=
 MAKEFLAGS=
 SHELL=${CONFIG_SHELL-/bin/sh}
+PTHREAD_LIB="-pthread"

 # Maximum number of lines to put in a shell here document.
 # This variable seems obsolete.  It should probably be removed, and
@@ -26342,6 +26343,7 @@ cat >>conftest.$ac_ext <<_ACEOF
 		#include <sys/socket.h>
 		#include <netinet/in.h>
 		#include <netdb.h>
+		#include <stddef.h>


 int
@@ -31544,6 +31546,10 @@ do
 _ACEOF
 cat >>$CONFIG_STATUS <<\_ACEOF
   -recheck | --recheck | --rechec | --reche | --rech | --rec | --re | --r)
+	: Avoid regenerating within pkgsrc
+	exit 0
+	: Avoid regenerating within pkgsrc
+	exit 0
     ac_cs_recheck=: ;;
   --version | --vers* | -V )
     echo "$ac_cs_version"; exit 0 ;;



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]