pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/libusb bl3ify
details: https://anonhg.NetBSD.org/pkgsrc/rev/518ebd9d53e1
branches: trunk
changeset: 469291:518ebd9d53e1
user: cube <cube%pkgsrc.org@localhost>
date: Sat Feb 21 22:54:04 2004 +0000
description:
bl3ify
diffstat:
devel/libusb/Makefile | 4 ++--
devel/libusb/buildlink3.mk | 17 +++++++++++++++++
2 files changed, 19 insertions(+), 2 deletions(-)
diffs (39 lines):
diff -r f1af2adadc1c -r 518ebd9d53e1 devel/libusb/Makefile
--- a/devel/libusb/Makefile Sat Feb 21 22:07:33 2004 +0000
+++ b/devel/libusb/Makefile Sat Feb 21 22:54:04 2004 +0000
@@ -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 @@
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 -r f1af2adadc1c -r 518ebd9d53e1 devel/libusb/buildlink3.mk
--- /dev/null Thu Jan 01 00:00:00 1970 +0000
+++ b/devel/libusb/buildlink3.mk Sat Feb 21 22:54:04 2004 +0000
@@ -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/+$//}
Home |
Main Index |
Thread Index |
Old Index