pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/net/openvpn On SunOS, depend on net/solaris-tap to get...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6d54b42915cc
branches:  trunk
changeset: 530542:6d54b42915cc
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Sun Jul 01 01:11:38 2007 +0000

description:
On SunOS, depend on net/solaris-tap to get the <net/if_tun.h> header.

diffstat:

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

diffs (28 lines):

diff -r 089b5c231b44 -r 6d54b42915cc net/openvpn/Makefile
--- a/net/openvpn/Makefile      Sun Jul 01 01:06:40 2007 +0000
+++ b/net/openvpn/Makefile      Sun Jul 01 01:11:38 2007 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2007/06/21 21:44:42 jlam Exp $
+# $NetBSD: Makefile,v 1.22 2007/07/01 01:11:38 tnn Exp $
 #
 
 DISTNAME=      openvpn-2.1_rc4
@@ -38,6 +38,8 @@
                        ${DOCDIR}               ${EGDIR}/keys           \
                                                ${EGDIR}/scripts
 
+.include "../../mk/bsd.prefs.mk"
+
 # OpenVPN 2.x has a shared module "plugin" architecture that allows
 # inserting callbacks into the server for various tasks.
 #
@@ -47,6 +49,9 @@
 .include "../../archivers/lzo/buildlink3.mk"
 .include "../../security/openssl/buildlink3.mk"
 .include "../../mk/pthread.buildlink3.mk"
+.if ${OPSYS} == "SunOS"
+.include "../../net/solaris-tap/buildlink3.mk"
+.endif
 
 SUBST_CLASSES+=                pkitool
 SUBST_STAGE.pkitool=   post-build



Home | Main Index | Thread Index | Old Index