From 7e6275b358b7dc33c54820a93280ebafb3078288 Mon Sep 17 00:00:00 2001 From: jlam Date: Fri, 3 Dec 2004 23:14:02 +0000 Subject: Make this link with ${PTHREAD_LDFLAGS} as well. --- net/openvpn-current/Makefile | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) (limited to 'net') diff --git a/net/openvpn-current/Makefile b/net/openvpn-current/Makefile index 27c3147b956..e49410e113c 100644 --- a/net/openvpn-current/Makefile +++ b/net/openvpn-current/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.6 2004/12/03 23:13:10 jlam Exp $ +# $NetBSD: Makefile,v 1.7 2004/12/03 23:14:02 jlam Exp $ # DISTNAME= openvpn-2.0_beta15 @@ -29,6 +29,11 @@ CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR} .include "../../security/openssl/buildlink3.mk" .include "../../mk/pthread.buildlink3.mk" +# The configure script assumes that PTHREAD_LIBS also contains any LDFLAGS +# needed to link with -lpthread. +# +PTHREAD_LIBS+= ${PTHREAD_LDFLAGS} + post-install: ${INSTALL_DATA_DIR} ${EGDIR} ${INSTALL_DATA_DIR} ${EGDIR/config -- cgit v1.2.3