Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/devel/libusb1 because this is installed as libusb-1.0,...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/e0a480c9ab74
branches:  trunk
changeset: 432455:e0a480c9ab74
user:      plunky <plunky%pkgsrc.org@localhost>
date:      Fri May 22 08:31:39 2020 +0000

description:
because this is installed as libusb-1.0, provide INCDIRS and
TRANSFORM to help packages find the correct files

diffstat:

 devel/libusb1/buildlink3.mk |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (19 lines):

diff -r 0a5315b40402 -r e0a480c9ab74 devel/libusb1/buildlink3.mk
--- a/devel/libusb1/buildlink3.mk       Fri May 22 08:28:02 2020 +0000
+++ b/devel/libusb1/buildlink3.mk       Fri May 22 08:31:39 2020 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: buildlink3.mk,v 1.1 2012/05/31 11:57:28 wiz Exp $
+# $NetBSD: buildlink3.mk,v 1.2 2020/05/22 08:31:39 plunky Exp $
 
 BUILDLINK_TREE+=       libusb1
 
@@ -7,6 +7,9 @@
 
 BUILDLINK_API_DEPENDS.libusb1+=        libusb1>=1.0.9
 BUILDLINK_PKGSRCDIR.libusb1?=  ../../devel/libusb1
+
+BUILDLINK_INCDIRS.libusb1+=    include/libusb-1.0
+BUILDLINK_TRANSFORM+=          l:usb:usb-1.0
 .endif # LIBUSB1_BUILDLINK3_MK
 
 BUILDLINK_TREE+=       -libusb1



Home | Main Index | Thread Index | Old Index