diff options
author | tnn <tnn> | 2007-07-01 01:11:38 +0000 |
---|---|---|
committer | tnn <tnn> | 2007-07-01 01:11:38 +0000 |
commit | f1ca0fdccbc2dd6f196f4e87c668bd8c685bb042 (patch) | |
tree | f9e4e3ef2b316ec67617bbe1350dbbc8bb4ddf6b | |
parent | 065e7378e77b4810d0f7202684f95aab6785898d (diff) | |
download | pkgsrc-f1ca0fdccbc2dd6f196f4e87c668bd8c685bb042.tar.gz |
On SunOS, depend on net/solaris-tap to get the <net/if_tun.h> header.
-rw-r--r-- | net/openvpn/Makefile | 7 |
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 |