summaryrefslogtreecommitdiff
path: root/net/vtun/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'net/vtun/Makefile')
-rw-r--r--net/vtun/Makefile19
1 files changed, 10 insertions, 9 deletions
diff --git a/net/vtun/Makefile b/net/vtun/Makefile
index 42e89be6661..201c31e7eeb 100644
--- a/net/vtun/Makefile
+++ b/net/vtun/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.15 2002/07/23 23:55:45 taca Exp $
+# $NetBSD: Makefile,v 1.16 2002/08/25 21:50:18 jlam Exp $
DISTNAME= vtun-2.5
CATEGORIES= net
@@ -8,14 +8,14 @@ MAINTAINER= hubertf@netbsd.org
HOMEPAGE= http://vtun.sourceforge.net/
COMMENT= Virtual Tunnels over TCP/IP networks with traffic shaping
-USE_BUILDLINK_ONLY= YES
+USE_BUILDLINK2= YES
GNU_CONFIGURE= YES
CONFIGURE_ARGS+= --localstatedir=/var
CONFIGURE_ARGS+= --sysconfdir=${PKG_SYSCONFDIR}
-CONFIGURE_ARGS+= --with-ssl-headers=${BUILDLINK_DIR}/include/openssl
-CONFIGURE_ARGS+= --with-ssl-lib=${BUILDLINK_DIR}/lib
-CONFIGURE_ARGS+= --with-lzo-headers=${BUILDLINK_DIR}/include
-CONFIGURE_ARGS+= --with-lzo-lib=${BUILDLINK_DIR}/lib
+CONFIGURE_ARGS+= --with-ssl-headers=${SSLBASE}/include/openssl
+CONFIGURE_ARGS+= --with-ssl-lib=${SSLBASE}/lib
+CONFIGURE_ARGS+= --with-lzo-headers=${BUILDLINK_PREFIX.liblzo}/include
+CONFIGURE_ARGS+= --with-lzo-lib=${BUILDLINK_PREFIX.liblzo}/lib
ALL_TARGET= vtund
WRKSRC= ${WRKDIR}/vtun
@@ -48,8 +48,9 @@ do-install:
${RM} -f ${PREFIX}/man/man8/vtun.8
${LN} -s vtund.8 ${PREFIX}/man/man8/vtun.8
-.include "../../archivers/liblzo/buildlink.mk"
-.include "../../devel/zlib/buildlink.mk"
-.include "../../security/openssl/buildlink.mk"
+.include "../../archivers/liblzo/buildlink2.mk"
+.include "../../devel/zlib/buildlink2.mk"
+.include "../../security/openssl/buildlink2.mk"
+
.include "../../mk/bsd.pkg.install.mk"
.include "../../mk/bsd.pkg.mk"