summaryrefslogtreecommitdiff
path: root/net
diff options
context:
space:
mode:
authorjlam <jlam>2004-12-03 23:14:02 +0000
committerjlam <jlam>2004-12-03 23:14:02 +0000
commit7e6275b358b7dc33c54820a93280ebafb3078288 (patch)
tree79b9ba564e50dceddbfe32caa0c9f159e549afdb /net
parent8e307e3e963a1e572a85912d6453a09c7fd9d1cd (diff)
downloadpkgsrc-7e6275b358b7dc33c54820a93280ebafb3078288.tar.gz
Make this link with ${PTHREAD_LDFLAGS} as well.
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