switch OpenVPN to compile with pthreads, since this is needed for plugins
like ldap auth. ok bernd@, sthen@
This commit is contained in:
parent
b2b97faef9
commit
8c7b50f27f
@ -1,10 +1,10 @@
|
||||
# $OpenBSD: Makefile,v 1.21 2009/03/08 15:56:52 martin Exp $
|
||||
# $OpenBSD: Makefile,v 1.22 2009/05/10 13:59:35 fkr Exp $
|
||||
|
||||
COMMENT= easy-to-use, robust, and highly configurable VPN
|
||||
|
||||
VERSION= 2.1_rc15
|
||||
DISTNAME= openvpn-${VERSION}
|
||||
PKGNAME= ${DISTNAME:S/_//g}p0
|
||||
PKGNAME= ${DISTNAME:S/_//g}p1
|
||||
CATEGORIES= net security
|
||||
|
||||
HOMEPAGE= http://openvpn.net/
|
||||
@ -16,7 +16,7 @@ PERMIT_PACKAGE_CDROM= Yes
|
||||
PERMIT_PACKAGE_FTP= Yes
|
||||
PERMIT_DISTFILES_CDROM= Yes
|
||||
PERMIT_DISTFILES_FTP= Yes
|
||||
WANTLIB= c crypto ssl
|
||||
WANTLIB= c crypto ssl pthread
|
||||
|
||||
MASTER_SITES= ${HOMEPAGE}/release/
|
||||
|
||||
@ -27,8 +27,7 @@ SEPARATE_BUILD= concurrent
|
||||
FAKE= lib
|
||||
CONFIGURE_STYLE=gnu
|
||||
|
||||
# pthread support is supposed to be unstable on OpenBSD
|
||||
CONFIGURE_ARGS+=--disable-pthread \
|
||||
CONFIGURE_ARGS+=--enable-pthread \
|
||||
--with-lzo-headers=${DEPBASE}/include \
|
||||
--with-lzo-lib=${DEPBASE}/lib \
|
||||
--enable-password-save
|
||||
|
12
net/openvpn/patches/patch-configure
Normal file
12
net/openvpn/patches/patch-configure
Normal file
@ -0,0 +1,12 @@
|
||||
$OpenBSD: patch-configure,v 1.1 2009/05/10 13:59:35 fkr Exp $
|
||||
--- configure.orig Sun May 3 03:42:03 2009
|
||||
+++ configure Sun May 3 03:43:03 2009
|
||||
@@ -10326,8 +10326,6 @@ if test x"$acx_pthread_ok" = xyes; then
|
||||
|
||||
case "$target" in
|
||||
*openbsd*)
|
||||
- { echo "$as_me:$LINENO: result: WARNING: pthread support on OpenBSD is unstable!" >&5
|
||||
-echo "${ECHO_T}WARNING: pthread support on OpenBSD is unstable!" >&6; }
|
||||
CFLAGS="$CFLAGS -pthread"
|
||||
;;
|
||||
esac
|
Loading…
x
Reference in New Issue
Block a user