From 43c368b9692c58abca04ed8ea4e64041513d74fb Mon Sep 17 00:00:00 2001 From: xtraeme Date: Tue, 20 Apr 2004 07:56:31 +0000 Subject: bl3ify --- net/libdnet/Makefile | 4 ++-- net/libdnet/buildlink3.mk | 18 ++++++++++++++++++ 2 files changed, 20 insertions(+), 2 deletions(-) create mode 100644 net/libdnet/buildlink3.mk (limited to 'net') diff --git a/net/libdnet/Makefile b/net/libdnet/Makefile index fc81dcdb47f..72dfcb127eb 100644 --- a/net/libdnet/Makefile +++ b/net/libdnet/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.2 2003/05/02 08:50:11 seb Exp $ +# $NetBSD: Makefile,v 1.3 2004/04/20 07:56:31 xtraeme Exp $ # DISTNAME= libdnet-1.7 @@ -10,7 +10,7 @@ HOMEPAGE= http://libdnet.sourceforge.net/ COMMENT= C interface to several low-level networking routines GNU_CONFIGURE= yes -USE_BUILDLINK2= yes +USE_BUILDLINK3= yes BUILD_DEFS+= USE_INET6 diff --git a/net/libdnet/buildlink3.mk b/net/libdnet/buildlink3.mk new file mode 100644 index 00000000000..2a815e313ea --- /dev/null +++ b/net/libdnet/buildlink3.mk @@ -0,0 +1,18 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/04/20 07:56:31 xtraeme Exp $ + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +LIBDNET_BUILDLINK3_MK:= ${LIBDNET_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= libdnet +.endif + +BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nlibdnet} +BUILDLINK_PACKAGES+= libdnet + +.if !empty(LIBDNET_BUILDLINK3_MK:M+) +BUILDLINK_DEPENDS.libdnet+= libdnet>=1.7 +BUILDLINK_PKGSRCDIR.libdnet?= ../../net/libdnet +.endif # LIBDNET_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} -- cgit v1.2.3