diff options
author | cube <cube@pkgsrc.org> | 2004-02-21 22:54:04 +0000 |
---|---|---|
committer | cube <cube@pkgsrc.org> | 2004-02-21 22:54:04 +0000 |
commit | 251136c311b23efc1bd9792479435a81c3a17e4a (patch) | |
tree | e0c579850eb236ca2169e8bded7161343675ea08 /devel/libusb | |
parent | 94c6309b68cea0243c3ce563727f57a21e4170e7 (diff) | |
download | pkgsrc-251136c311b23efc1bd9792479435a81c3a17e4a.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/+$//} |