From 32a38e39586257cbdaa4a718ae3045746b0d7252 Mon Sep 17 00:00:00 2001 From: cube Date: Sat, 21 Feb 2004 22:54:04 +0000 Subject: bl3ify --- devel/libusb/Makefile | 4 ++-- devel/libusb/buildlink3.mk | 17 +++++++++++++++++ 2 files changed, 19 insertions(+), 2 deletions(-) create mode 100644 devel/libusb/buildlink3.mk (limited to 'devel/libusb') diff --git a/devel/libusb/Makefile b/devel/libusb/Makefile index 8f0eb360bae..3abacdd2d0c 100644 --- a/devel/libusb/Makefile +++ b/devel/libusb/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.14 2004/02/14 17:21:38 jlam Exp $ +# $NetBSD: Makefile,v 1.15 2004/02/21 22:54:04 cube Exp $ # DISTNAME= libusb-0.1.7 @@ -9,7 +9,7 @@ MAINTAINER= drochner@NetBSD.org HOMEPAGE= http://libusb.sourceforge.net/ COMMENT= USB access library -USE_BUILDLINK2= YES +USE_BUILDLINK3= YES GNU_CONFIGURE= YES CONFIGURE_ARGS+= --disable-build-docs USE_LIBTOOL= YES diff --git a/devel/libusb/buildlink3.mk b/devel/libusb/buildlink3.mk new file mode 100644 index 00000000000..e2165c977cc --- /dev/null +++ b/devel/libusb/buildlink3.mk @@ -0,0 +1,17 @@ +# $NetBSD: buildlink3.mk,v 1.1 2004/02/21 22:54:04 cube Exp $ +# + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+ +LIBUSB_BUILDLINK3_MK:= ${LIBUSB_BUILDLINK3_MK}+ + +.if !empty(BUILDLINK_DEPTH:M+) +BUILDLINK_DEPENDS+= libusb +.endif + +.if !empty(LIBUSB_BUILDLINK3_MK:M+) +BUILDLINK_PACKAGES+= libusb +BUILDLINK_DEPENDS.libusb+= libusb>=0.1.7 +BUILDLINK_PKGSRCDIR.libusb?= ../../devel/libusb +.endif # LIBUSB_BUILDLINK3_MK + +BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//} -- cgit v1.2.3