diff options
author | xtraeme <xtraeme@pkgsrc.org> | 2004-04-20 07:56:31 +0000 |
---|---|---|
committer | xtraeme <xtraeme@pkgsrc.org> | 2004-04-20 07:56:31 +0000 |
commit | 2b39488185bfffb92ffdbe42ddb71a892ad68e6d (patch) | |
tree | 01561e4ae37221fc5a1a1eba089836d129ec3080 /net | |
parent | 0659981d9c8d351ee02526a817ff4bc3c2593dce (diff) | |
download | pkgsrc-2b39488185bfffb92ffdbe42ddb71a892ad68e6d.tar.gz |
bl3ify
Diffstat (limited to 'net')
-rw-r--r-- | net/libdnet/Makefile | 4 | ||||
-rw-r--r-- | net/libdnet/buildlink3.mk | 18 |
2 files changed, 20 insertions, 2 deletions
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/+$//} |