summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorkhorben <khorben@pkgsrc.org>2017-12-16 22:53:15 +0000
committerkhorben <khorben@pkgsrc.org>2017-12-16 22:53:15 +0000
commitb93aacee7e4caa16894d2215ebab96bfa98cfd9f (patch)
treeb8fd5eacc3f7ba1c405d6e9f1891ce65a1eb5721
parentdd33222d63682cb0457941c4cf67712caa309284 (diff)
downloadpkgsrc-b93aacee7e4caa16894d2215ebab96bfa98cfd9f.tar.gz
Update devel/libusb-compat to version 0.1.6-rc2 (as 0.1.6rc2 here)
From the ChangeLog: tag the 0.1.6-rc1 release Add -no-undefined to LDFLAGS Add some missing definitions Use C99 standard fixed width integer types in usb.h Prevent libusb-1.0 library symbol clash Add a library destructor to handle cleaning up libusb. Revert "Link with -znodelete to disallow unloading" Revert "use atexit() to call libusb_exit()" Link with -znodelete to disallow unloading Also changes the master site to GitHub. Tested on NetBSD/amd64. TODO: offer as an alternative to devel/libusb.
-rw-r--r--devel/libusb-compat/Makefile17
-rw-r--r--devel/libusb-compat/distinfo10
2 files changed, 14 insertions, 13 deletions
diff --git a/devel/libusb-compat/Makefile b/devel/libusb-compat/Makefile
index 508e4144f31..6da2a55df0b 100644
--- a/devel/libusb-compat/Makefile
+++ b/devel/libusb-compat/Makefile
@@ -1,9 +1,10 @@
-# $NetBSD: Makefile,v 1.6 2017/09/30 07:44:12 wiz Exp $
+# $NetBSD: Makefile,v 1.7 2017/12/16 22:53:15 khorben Exp $
-DISTNAME= libusb-compat-0.1.5
+DISTNAME= libusb-compat-0.1.6rc2
+GITHUB_PROJECT= libusb-compat-0.1
+GITHUB_TAG= v0.1.6-rc2
CATEGORIES= devel
-MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libusb/libusb-compat-0.1/}
-EXTRACT_SUFX= .tar.bz2
+MASTER_SITES= ${MASTER_SITE_GITHUB:=libusb/}
MAINTAINER= pkgsrc-users@NetBSD.org
HOMEPAGE= https://github.com/libusb/libusb/wiki
@@ -12,14 +13,14 @@ LICENSE= gnu-lgpl-v2.1
USE_LIBTOOL= yes
USE_TOOLS+= pkg-config
+USE_TOOLS+= aclocal autoconf automake autoheader
GNU_CONFIGURE= yes
PKGCONFIG_OVERRIDE+= libusb.pc.in
-CPPFLAGS.SunOS+= -Du_int8_t=uint8_t
-CPPFLAGS.SunOS+= -Du_int16_t=uint16_t
-CPPFLAGS.SunOS+= -Du_int32_t=uint32_t
-
CONFLICTS= libusb-[0-9]*
+pre-configure:
+ cd ${WRKSRC} && sh autogen.sh
+
.include "../../devel/libusb1/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/devel/libusb-compat/distinfo b/devel/libusb-compat/distinfo
index 475f6f8aefe..0bfb4f5e9f1 100644
--- a/devel/libusb-compat/distinfo
+++ b/devel/libusb-compat/distinfo
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.3 2015/11/03 03:27:46 agc Exp $
+$NetBSD: distinfo,v 1.4 2017/12/16 22:53:15 khorben Exp $
-SHA1 (libusb-compat-0.1.5.tar.bz2) = 062319276d913c753a4b1341036e6a2e42abccc9
-RMD160 (libusb-compat-0.1.5.tar.bz2) = 1e4d8b9ea524818380c5a5f53d1d05dac37033cf
-SHA512 (libusb-compat-0.1.5.tar.bz2) = fe63bd1c65e67588a83ebfdd329025ecf75f33f877fb80dd83eb528df057efb591e010416027f9054294504562299166e8e2811a7681fa1967a03baae9b88857
-Size (libusb-compat-0.1.5.tar.bz2) = 276769 bytes
+SHA1 (libusb-compat-0.1.6rc2.tar.gz) = a398b24fab71e5742915a9eb7c8a389c7a492d57
+RMD160 (libusb-compat-0.1.6rc2.tar.gz) = aeaa6af3117c2e115b5e2a1b63698fa7857cfb0e
+SHA512 (libusb-compat-0.1.6rc2.tar.gz) = 825de5ac7dd26255360320928f03c2fba6be3a822add489665b50a0ac1babc35f60eebad9095a2a345c56ebb96f04206e91fd45ad966977ebf482ddf4db1998e
+Size (libusb-compat-0.1.6rc2.tar.gz) = 37284 bytes