diff options
author | cube <cube> | 2004-02-21 22:54:04 +0000 |
---|---|---|
committer | cube <cube> | 2004-02-21 22:54:04 +0000 |
commit | 32a38e39586257cbdaa4a718ae3045746b0d7252 (patch) | |
tree | e0c579850eb236ca2169e8bded7161343675ea08 /devel/libusb | |
parent | 5a0a05772e855808ff4f073995ae2ff0f7f36c9d (diff) | |
download | pkgsrc-32a38e39586257cbdaa4a718ae3045746b0d7252.tar.gz |
bl3ify
Diffstat (limited to 'devel/libusb')
-rw-r--r-- | devel/libusb/Makefile | 4 | ||||
-rw-r--r-- | devel/libusb/buildlink3.mk | 17 |
2 files changed, 19 insertions, 2 deletions
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/+$//} |