summaryrefslogtreecommitdiff
path: root/net/openvpn
diff options
context:
space:
mode:
authortnn <tnn>2007-07-01 01:11:38 +0000
committertnn <tnn>2007-07-01 01:11:38 +0000
commitc6a3ca2a935bcb95bb5764ee5bac22165f1eded8 (patch)
treef9e4e3ef2b316ec67617bbe1350dbbc8bb4ddf6b /net/openvpn
parent458b1dd1fa251d3955889144191b81be3a828f68 (diff)
downloadpkgsrc-c6a3ca2a935bcb95bb5764ee5bac22165f1eded8.tar.gz
On SunOS, depend on net/solaris-tap to get the <net/if_tun.h> header.
Diffstat (limited to 'net/openvpn')
-rw-r--r--net/openvpn/Makefile7
1 files changed, 6 insertions, 1 deletions
diff --git a/net/openvpn/Makefile b/net/openvpn/Makefile
index 2f156a19520..bbc9d6dbc36 100644
--- a/net/openvpn/Makefile
+++ b/net/openvpn/Makefile
@@ -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 @@ INSTALLATION_DIRS= ${DATADIR}/easy-rsa ${EGDIR}/config \
${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 @@ DL_AUTO_VARS= yes
.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