summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/openvpn-current/Makefile7
1 files changed, 6 insertions, 1 deletions
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