pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/net/openvpn-current Make this link with ${PTHREAD_LDFL...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0fd87c14e215
branches:  trunk
changeset: 485097:0fd87c14e215
user:      jlam <jlam%pkgsrc.org@localhost>
date:      Fri Dec 03 23:14:02 2004 +0000

description:
Make this link with ${PTHREAD_LDFLAGS} as well.

diffstat:

 net/openvpn-current/Makefile |  7 ++++++-
 1 files changed, 6 insertions(+), 1 deletions(-)

diffs (21 lines):

diff -r 52401aafee94 -r 0fd87c14e215 net/openvpn-current/Makefile
--- a/net/openvpn-current/Makefile      Fri Dec 03 23:13:10 2004 +0000
+++ b/net/openvpn-current/Makefile      Fri Dec 03 23:14:02 2004 +0000
@@ -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 @@
 .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



Home | Main Index | Thread Index | Old Index