diff options
author | jlam <jlam> | 2004-12-03 23:14:02 +0000 |
---|---|---|
committer | jlam <jlam> | 2004-12-03 23:14:02 +0000 |
commit | 7e6275b358b7dc33c54820a93280ebafb3078288 (patch) | |
tree | 79b9ba564e50dceddbfe32caa0c9f159e549afdb | |
parent | 8e307e3e963a1e572a85912d6453a09c7fd9d1cd (diff) | |
download | pkgsrc-7e6275b358b7dc33c54820a93280ebafb3078288.tar.gz |
Make this link with ${PTHREAD_LDFLAGS} as well.
-rw-r--r-- | net/openvpn-current/Makefile | 7 |
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 |