summaryrefslogtreecommitdiff
path: root/net/openvpn
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2007-07-01 01:11:38 +0000
committertnn <tnn@pkgsrc.org>2007-07-01 01:11:38 +0000
commited43eea276bac62965f731be7dcae425cf7e2632 (patch)
treef9e4e3ef2b316ec67617bbe1350dbbc8bb4ddf6b /net/openvpn
parent9c02ce5bdb18b5d6d1825bf26635029891b984f8 (diff)
downloadpkgsrc-ed43eea276bac62965f731be7dcae425cf7e2632.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