head 1.47; access; symbols pkgsrc-2023Q4:1.47.0.32 pkgsrc-2023Q4-base:1.47 pkgsrc-2023Q3:1.47.0.30 pkgsrc-2023Q3-base:1.47 pkgsrc-2023Q2:1.47.0.28 pkgsrc-2023Q2-base:1.47 pkgsrc-2023Q1:1.47.0.26 pkgsrc-2023Q1-base:1.47 pkgsrc-2022Q4:1.47.0.24 pkgsrc-2022Q4-base:1.47 pkgsrc-2022Q3:1.47.0.22 pkgsrc-2022Q3-base:1.47 pkgsrc-2022Q2:1.47.0.20 pkgsrc-2022Q2-base:1.47 pkgsrc-2022Q1:1.47.0.18 pkgsrc-2022Q1-base:1.47 pkgsrc-2021Q4:1.47.0.16 pkgsrc-2021Q4-base:1.47 pkgsrc-2021Q3:1.47.0.14 pkgsrc-2021Q3-base:1.47 pkgsrc-2021Q2:1.47.0.12 pkgsrc-2021Q2-base:1.47 pkgsrc-2021Q1:1.47.0.10 pkgsrc-2021Q1-base:1.47 pkgsrc-2020Q4:1.47.0.8 pkgsrc-2020Q4-base:1.47 pkgsrc-2020Q3:1.47.0.6 pkgsrc-2020Q3-base:1.47 pkgsrc-2020Q2:1.47.0.4 pkgsrc-2020Q2-base:1.47 pkgsrc-2020Q1:1.47.0.2 pkgsrc-2020Q1-base:1.47 pkgsrc-2019Q4:1.45.0.6 pkgsrc-2019Q4-base:1.45 pkgsrc-2019Q3:1.45.0.2 pkgsrc-2019Q3-base:1.45 pkgsrc-2019Q2:1.43.0.2 pkgsrc-2019Q2-base:1.43 pkgsrc-2019Q1:1.42.0.6 pkgsrc-2019Q1-base:1.42 pkgsrc-2018Q4:1.42.0.4 pkgsrc-2018Q4-base:1.42 pkgsrc-2018Q3:1.42.0.2 pkgsrc-2018Q3-base:1.42 pkgsrc-2018Q2:1.41.0.4 pkgsrc-2018Q2-base:1.41 pkgsrc-2018Q1:1.41.0.2 pkgsrc-2018Q1-base:1.41 pkgsrc-2017Q4:1.40.0.6 pkgsrc-2017Q4-base:1.40 pkgsrc-2017Q3:1.40.0.4 pkgsrc-2017Q3-base:1.40 pkgsrc-2017Q2:1.39.0.6 pkgsrc-2017Q2-base:1.39 pkgsrc-2017Q1:1.39.0.4 pkgsrc-2017Q1-base:1.39 pkgsrc-2016Q4:1.39.0.2 pkgsrc-2016Q4-base:1.39 pkgsrc-2016Q3:1.38.0.4 pkgsrc-2016Q3-base:1.38 pkgsrc-2016Q2:1.38.0.2 pkgsrc-2016Q2-base:1.38 pkgsrc-2016Q1:1.37.0.4 pkgsrc-2016Q1-base:1.37 pkgsrc-2015Q4:1.37.0.2 pkgsrc-2015Q4-base:1.37 pkgsrc-2015Q3:1.36.0.6 pkgsrc-2015Q3-base:1.36 pkgsrc-2015Q2:1.36.0.4 pkgsrc-2015Q2-base:1.36 pkgsrc-2015Q1:1.36.0.2 pkgsrc-2015Q1-base:1.36 pkgsrc-2014Q4:1.35.0.14 pkgsrc-2014Q4-base:1.35 pkgsrc-2014Q3:1.35.0.12 pkgsrc-2014Q3-base:1.35 pkgsrc-2014Q2:1.35.0.10 pkgsrc-2014Q2-base:1.35 pkgsrc-2014Q1:1.35.0.8 pkgsrc-2014Q1-base:1.35 pkgsrc-2013Q4:1.35.0.6 pkgsrc-2013Q4-base:1.35 pkgsrc-2013Q3:1.35.0.4 pkgsrc-2013Q3-base:1.35 pkgsrc-2013Q2:1.35.0.2 pkgsrc-2013Q2-base:1.35 pkgsrc-2013Q1:1.33.0.4 pkgsrc-2013Q1-base:1.33 pkgsrc-2012Q4:1.33.0.2 pkgsrc-2012Q4-base:1.33 pkgsrc-2012Q3:1.32.0.4 pkgsrc-2012Q3-base:1.32 pkgsrc-2012Q2:1.32.0.2 pkgsrc-2012Q2-base:1.32 pkgsrc-2012Q1:1.30.0.12 pkgsrc-2012Q1-base:1.30 pkgsrc-2011Q4:1.30.0.10 pkgsrc-2011Q4-base:1.30 pkgsrc-2011Q3:1.30.0.8 pkgsrc-2011Q3-base:1.30 pkgsrc-2011Q2:1.30.0.6 pkgsrc-2011Q2-base:1.30 TNF:1.1.1 pkgsrc-2011Q1:1.30.0.4 pkgsrc-2011Q1-base:1.30 pkgsrc-2010Q4:1.30.0.2 pkgsrc-2010Q4-base:1.30 pkgsrc-2010Q3:1.29.0.24 pkgsrc-2010Q3-base:1.29 pkgsrc-2010Q2:1.29.0.22 pkgsrc-2010Q2-base:1.29 pkgsrc-2010Q1:1.29.0.20 pkgsrc-2010Q1-base:1.29 pkgsrc-2009Q4:1.29.0.18 pkgsrc-2009Q4-base:1.29 pkgsrc-2009Q3:1.29.0.16 pkgsrc-2009Q3-base:1.29 pkgsrc-2009Q2:1.29.0.14 pkgsrc-2009Q2-base:1.29 pkgsrc-2009Q1:1.29.0.12 pkgsrc-2009Q1-base:1.29 pkgsrc-2008Q4:1.29.0.10 pkgsrc-2008Q4-base:1.29 pkgsrc-2008Q3:1.29.0.8 pkgsrc-2008Q3-base:1.29 cube-native-xorg:1.29.0.6 cube-native-xorg-base:1.29 pkgsrc-2008Q2:1.29.0.4 pkgsrc-2008Q2-base:1.29 cwrapper:1.29.0.2 pkgsrc-2008Q1:1.28.0.4 pkgsrc-2008Q1-base:1.28 pkgsrc-2007Q4:1.28.0.2 pkgsrc-2007Q4-base:1.28 pkgsrc-2007Q3:1.27.0.12 pkgsrc-2007Q3-base:1.27 pkgsrc-2007Q2:1.27.0.10 pkgsrc-2007Q2-base:1.27 pkgsrc-2007Q1:1.27.0.8 pkgsrc-2007Q1-base:1.27 pkgsrc-2006Q4:1.27.0.6 pkgsrc-2006Q4-base:1.27 pkgsrc-2006Q3:1.27.0.4 pkgsrc-2006Q3-base:1.27 pkgsrc-2006Q2:1.27.0.2 pkgsrc-2006Q2-base:1.27 pkgsrc-2006Q1:1.26.0.2 pkgsrc-2006Q1-base:1.26 pkgsrc-2005Q4:1.25.0.2 pkgsrc-2005Q4-base:1.25 pkgsrc-2005Q3:1.23.0.2 pkgsrc-2005Q3-base:1.23 pkgsrc-2005Q2:1.22.0.2 pkgsrc-2005Q2-base:1.22 pkgsrc-2005Q1:1.21.0.2 pkgsrc-2005Q1-base:1.21 pkgsrc-2004Q4:1.19.0.2 pkgsrc-2004Q4-base:1.19 pkgsrc-2004Q3:1.18.0.2 pkgsrc-2004Q3-base:1.18 pkgsrc-2004Q2:1.17.0.2 pkgsrc-2004Q2-base:1.17 pkgsrc-2004Q1:1.15.0.2 pkgsrc-2004Q1-base:1.15 pkgsrc-2003Q4:1.13.0.2 pkgsrc-2003Q4-base:1.13 netbsd-1-6-1:1.12.0.2 netbsd-1-6-1-base:1.12 netbsd-1-6:1.6.0.6 netbsd-1-6-RELEASE-base:1.6 pkgviews:1.6.0.2 pkgviews-base:1.6 buildlink2:1.5.0.2 buildlink2-base:1.8 netbsd-1-5-PATCH003:1.5 netbsd-1-5-PATCH001:1.1.1.1 tnf-010328:1.1.1.1; locks; strict; comment @# @; 1.47 date 2020.03.20.11.57.28; author nia; state Exp; branches; next 1.46; commitid XgzioScE8x0eq81C; 1.46 date 2020.01.18.23.30.33; author rillig; state Exp; branches; next 1.45; commitid shGUwZfkr7sleeTB; 1.45 date 2019.08.06.09.27.30; author maya; state Exp; branches; next 1.44; commitid TUW3HaYSbRvdTWxB; 1.44 date 2019.08.06.09.12.10; author maya; state Exp; branches; next 1.43; commitid 6HaffjuYarTKNWxB; 1.43 date 2019.05.16.16.17.52; author pgoyette; state Exp; branches; next 1.42; commitid 8B9rMO682guUMrnB; 1.42 date 2018.08.19.20.16.39; author wiz; state Exp; branches; next 1.41; commitid ABKQmSSJKd1rNLOA; 1.41 date 2018.02.19.17.59.23; author mrg; state Exp; branches; next 1.40; commitid CLAqgNELEcsSQurA; 1.40 date 2017.08.11.22.17.34; author maya; state Exp; branches; next 1.39; commitid BnFOlAujH6ghsQ2A; 1.39 date 2016.12.03.04.19.05; author marino; state Exp; branches; next 1.38; commitid qZCDGJgJ9klzyuwz; 1.38 date 2016.04.10.15.26.57; author richard; state Exp; branches; next 1.37; commitid KjsPk20aNyMFR52z; 1.37 date 2015.10.25.10.18.34; author wiz; state Exp; branches; next 1.36; commitid A73GGi4ZA4QAytGy; 1.36 date 2015.01.04.05.09.51; author dholland; state Exp; branches; next 1.35; commitid n6mFFeZGALvZiF4y; 1.35 date 2013.06.23.16.59.16; author jperkin; state Exp; branches; next 1.34; commitid o12hGfCB5HfneLUw; 1.34 date 2013.06.22.19.49.11; author jperkin; state Exp; branches; next 1.33; commitid K5Y50BpFgOHVbEUw; 1.33 date 2012.10.31.11.17.23; author asau; state Exp; branches; next 1.32; 1.32 date 2012.05.30.15.48.21; author wiz; state Exp; branches; next 1.31; 1.31 date 2012.05.30.14.13.14; author wiz; state Exp; branches; next 1.30; 1.30 date 2010.12.04.08.12.33; author adam; state Exp; branches; next 1.29; 1.29 date 2008.06.14.20.00.15; author heinz; state Exp; branches; next 1.28; 1.28 date 2007.10.11.18.25.19; author drochner; state Exp; branches; next 1.27; 1.27 date 2006.05.26.10.06.13; author joerg; state Exp; branches; next 1.26; 1.26 date 2006.03.11.08.34.12; author adam; state Exp; branches; next 1.25; 1.25 date 2005.12.05.20.50.05; author rillig; state Exp; branches; next 1.24; 1.24 date 2005.10.25.15.52.33; author heinz; state Exp; branches; next 1.23; 1.23 date 2005.08.22.17.15.23; author reed; state Exp; branches; next 1.22; 1.22 date 2005.04.11.21.45.28; author tv; state Exp; branches; next 1.21; 1.21 date 2005.02.24.18.46.49; author drochner; state Exp; branches; next 1.20; 1.20 date 2005.02.14.09.50.18; author adam; state Exp; branches; next 1.19; 1.19 date 2004.10.03.00.13.31; author tv; state Exp; branches; next 1.18; 1.18 date 2004.06.23.08.45.59; author wiz; state Exp; branches; next 1.17; 1.17 date 2004.06.06.02.22.15; author grant; state Exp; branches; next 1.16; 1.16 date 2004.05.03.08.45.44; author adam; state Exp; branches; next 1.15; 1.15 date 2004.02.21.22.54.04; author cube; state Exp; branches; next 1.14; 1.14 date 2004.02.14.17.21.38; author jlam; state Exp; branches; next 1.13; 1.13 date 2003.07.17.21.31.46; author grant; state Exp; branches; next 1.12; 1.12 date 2002.11.18.06.25.51; author schmonz; state Exp; branches; next 1.11; 1.11 date 2002.10.22.16.00.33; author drochner; state Exp; branches; next 1.10; 1.10 date 2002.08.26.17.54.34; author jlam; state Exp; branches; next 1.9; 1.9 date 2002.08.25.19.22.33; author jlam; state Exp; branches; next 1.8; 1.8 date 2002.08.21.11.05.28; author wiz; state Exp; branches; next 1.7; 1.7 date 2002.08.19.19.07.19; author mycroft; state Exp; branches; next 1.6; 1.6 date 2002.05.08.17.43.40; author drochner; state Exp; branches; next 1.5; 1.5 date 2002.03.03.15.26.58; author veego; state Exp; branches 1.5.2.1; next 1.4; 1.4 date 2002.02.07.07.31.48; author martti; state Exp; branches; next 1.3; 1.3 date 2002.01.03.10.42.49; author martti; state Exp; branches; next 1.2; 1.2 date 2001.07.24.11.17.46; author jlam; state Exp; branches; next 1.1; 1.1 date 2001.03.28.10.11.41; author drochner; state Exp; branches 1.1.1.1; next ; 1.5.2.1 date 2002.06.23.18.44.32; author jlam; state Exp; branches; next 1.5.2.2; 1.5.2.2 date 2002.08.22.11.10.46; author jlam; state Exp; branches; next ; 1.1.1.1 date 2001.03.28.10.11.41; author drochner; state Exp; branches; next ; desc @@ 1.47 log @*: Convert broken sourceforge HOMEPAGEs back to http @ text @# $NetBSD: Makefile,v 1.46 2020/01/18 23:30:33 rillig Exp $ DISTNAME= libusb-0.1.12 PKGREVISION= 7 CATEGORIES= devel MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=libusb/} MAINTAINER= pkgsrc-users@@NetBSD.org HOMEPAGE= http://libusb.sourceforge.net/ COMMENT= USB access library (version 0) LICENSE= gnu-lgpl-v2.1 USE_LANGUAGES= c c++ USE_LIBTOOL= yes GNU_CONFIGURE= yes CONFIGURE_ARGS+= --disable-build-docs PKGCONFIG_OVERRIDE+= libusb.pc.in # The configure script recognizes only specific OSes that have one of # three USB APIs: Linux, BSD, or MacOS. If you have some other OS that # supports one of these APIs, add it here and also in the configure # script. Solaris support has been hacked on separately. ONLY_FOR_PLATFORM= Linux-*-* ONLY_FOR_PLATFORM+= NetBSD-*-* OpenBSD-*-* FreeBSD-*-* ONLY_FOR_PLATFORM+= Darwin-*-* ONLY_FOR_PLATFORM+= SunOS-*-* TEST_TARGET= check CONFLICTS= libusb-compat-[0-9]* .include "../../mk/bsd.prefs.mk" .if ${OPSYS} == "SunOS" CFLAGS+= -D_REENTRANT -D_TS_ERRNO CXXFLAGS+= -Du_int8_t=uint8_t CXXFLAGS+= -Du_int16_t=uint16_t CXXFLAGS+= -Du_int32_t=uint32_t SED_TRANSFORMS= -e 's,@@BIGENDIAN@@,0,' -e 's,@@LINUX_API@@,0,' SED_TRANSFORMS+= -e 's,u_int8_t,uint8_t,g' SED_TRANSFORMS+= -e 's,u_int16_t,uint16_t,g' SED_TRANSFORMS+= -e 's,u_int32_t,uint32_t,g' SED_TRANSFORMS+= -e "s,@@prefix@@,${PREFIX},g" SED_TRANSFORMS+= -e "s,@@exec_prefix@@,${PREFIX},g" SED_TRANSFORMS+= -e "s,@@LIBUSB_VERSION@@,${PKGVERSION_NOREV},g" SED_TRANSFORMS+= -e "s,@@VERSION@@,${PKGVERSION_NOREV},g" SED_TRANSFORMS+= -e "s,@@includedir@@,${PREFIX}/include,g" SED_TRANSFORMS+= -e "s,@@libdir@@,${PREFIX}/lib,g" SED_TRANSFORMS+= -e "s,@@OSLIBS@@,,g" INSTALLATION_DIRS+= bin include lib/pkgconfig do-configure: cp ${FILESDIR}/libusbugen* ${WRKSRC}/ do-build: cd ${WRKSRC} && ${SED} ${SED_TRANSFORMS} usb.h.in >usb.h cd ${WRKSRC} && ${SED} ${SED_TRANSFORMS} libusb-config.in >libusb-config cd ${WRKSRC} && ${SED} ${SED_TRANSFORMS} libusb.pc.in >libusb.pc cd ${WRKSRC} && ${LIBTOOL} --mode=compile --tag=CC ${CC} ${CFLAGS} \ -I. -c libusbugen.c cd ${WRKSRC} && ${LIBTOOL} --mode=link --tag=CC ${CC} \ -rpath ${PREFIX}/lib -version-info 8:4:4 -release 0.1 \ -o libusb.la libusbugen.lo cd ${WRKSRC} && ${LIBTOOL} --mode=compile --tag=CXX ${CXX} ${CXXFLAGS} \ -I. -c usbpp.cpp cd ${WRKSRC} && ${LIBTOOL} --mode=link --tag=CXX ${CXX} \ -rpath ${PREFIX}/lib -version-info 8:4:4 -release 0.1 \ -o libusbpp.la usbpp.lo do-install: ${INSTALL_SCRIPT} ${WRKSRC}/libusb-config ${DESTDIR}${PREFIX}/bin ${INSTALL_DATA} ${WRKSRC}/usb.h ${DESTDIR}${PREFIX}/include ${INSTALL_DATA} ${WRKSRC}/usbpp.h ${DESTDIR}${PREFIX}/include cd ${WRKSRC} && ${LIBTOOL} --mode=install ${INSTALL_LIB} libusb.la \ ${DESTDIR}${PREFIX}/lib cd ${WRKSRC} && ${LIBTOOL} --mode=install ${INSTALL_LIB} libusbpp.la \ ${DESTDIR}${PREFIX}/lib ${INSTALL_DATA} ${WRKSRC}/libusb.pc ${DESTDIR}${PREFIX}/lib/pkgconfig .endif BUILDLINK_TRANSFORM+= rm:-Werror .include "../../mk/bsd.pkg.mk" @ 1.46 log @all: migrate several HOMEPAGEs to https pkglint --only "https instead of http" -r -F With manual adjustments afterwards since pkglint 19.4.4 fixed a few indentations in unrelated lines. This mainly affects projects hosted at SourceForce, as well as freedesktop.org, CTAN and GNU. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.45 2019/08/06 09:27:30 maya Exp $ d9 1 a9 1 HOMEPAGE= https://libusb.sourceforge.net/ @ 1.45 log @libusb: revert previous patch. this code is not doing unaligned access. PR pkg/54441 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.44 2019/08/06 09:12:10 maya Exp $ d9 1 a9 1 HOMEPAGE= http://libusb.sourceforge.net/ @ 1.44 log @libusb: avoid unaligned access. Improve code consistency. XXX does this package also need -O1 -fno-strict-aliasing on clang? Noted by Shingo Nishioka in PR pkg/54441 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.43 2019/05/16 16:17:52 pgoyette Exp $ d4 1 a4 1 PKGREVISION= 6 @ 1.43 log @Disable -Werror when building. If it is enabled, current releases of gcc (7.4.0) will generate lots of errors concerning snprintf(). Fix proposed by wiz@@ and confirmed by me. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.42 2018/08/19 20:16:39 wiz Exp $ d4 1 a4 1 PKGREVISION= 5 @ 1.42 log @*: reset maintainer for drochner @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.41 2018/02/19 17:59:23 mrg Exp $ d82 2 @ 1.41 log @eat EAGAIN messages and simply retry. this fixes libusb / ups-nut-usb from flooding my syslog with multiple messages per second. bump pkg version. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.40 2017/08/11 22:17:34 maya Exp $ d8 1 a8 1 MAINTAINER= drochner@@NetBSD.org @ 1.40 log @rototill^W omit low GCC_REQD @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.39 2016/12/03 04:19:05 marino Exp $ d4 1 a4 1 PKGREVISION= 4 @ 1.39 log @devel/libusb: ONLY_FOR_PLATFORM=- DragonFly The old USB headers were removed long ago and I don't think this 3rd party USB library is functional on DragonFly anymore (even if it were buildable, which its not). I'm wondering if this is not also the case for FreeBSD? Any important software that depends on libusb (SDL2?) will need to support the base libusb.so in DragonFly (and FreeBSD?). @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.38 2016/04/10 15:26:57 richard Exp $ a13 1 GCC_REQD+= 3.3 @ 1.38 log @apply SED_TRANSFORMS first in order to at least generate usb.h, needed by libusbugen.c in order to build successfully. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.37 2015/10/25 10:18:34 wiz Exp $ d25 1 a25 1 ONLY_FOR_PLATFORM+= NetBSD-*-* OpenBSD-*-* FreeBSD-*-* DragonFly-*-* @ 1.37 log @Fix a long-standing bug in short reads. Reported by and patch from Dave Tyson in PR 50365. While here, fix return value for partial reads with errors. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.36 2015/01/04 05:09:51 dholland Exp $ d58 3 a70 3 cd ${WRKSRC} && ${SED} ${SED_TRANSFORMS} usb.h.in >usb.h cd ${WRKSRC} && ${SED} ${SED_TRANSFORMS} libusb-config.in >libusb-config cd ${WRKSRC} && ${SED} ${SED_TRANSFORMS} libusb.pc.in >libusb.pc @ 1.36 log @Document ONLY_FOR_PLATFORM. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.35 2013/06/23 16:59:16 jperkin Exp $ d4 1 a4 1 PKGREVISION= 3 d43 1 a43 1 SED_TRANSFORMS+= -e 's,u_int32_t,uint32_t,g' @ 1.35 log @Use PKGVERSION_NOREV. Prodded by joerg. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.34 2013/06/22 19:49:11 jperkin Exp $ d20 8 a27 2 ONLY_FOR_PLATFORM= Darwin-*-* FreeBSD-*-* Linux-*-* NetBSD-*-* ONLY_FOR_PLATFORM+= OpenBSD-*-* DragonFly-*-* SunOS-*-* @ 1.34 log @Add SunOS support, using the libusb implementation from OpenSolaris. I am able to at least probe some devices, and this gets us a large number of extra packages. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.33 2012/10/31 11:17:23 asau Exp $ d40 2 a41 2 SED_TRANSFORMS+= -e "s,@@LIBUSB_VERSION@@,${PKGVERSION:C/nb[0-9]*$//},g" SED_TRANSFORMS+= -e "s,@@VERSION@@,${PKGVERSION:C/nb[0-9]*$//},g" @ 1.33 log @Drop superfluous PKG_DESTDIR_SUPPORT, "user-destdir" is default these days. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.32 2012/05/30 15:48:21 wiz Exp $ d21 1 a21 1 ONLY_FOR_PLATFORM+= OpenBSD-*-* DragonFly-*-* d27 50 @ 1.32 log @Note conflict with libusb-compat. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.31 2012/05/30 14:13:14 wiz Exp $ a12 2 PKG_DESTDIR_SUPPORT= user-destdir @ 1.31 log @Mention that this is version 0 of the library. Bump PKGREVISION. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.30 2010/12/04 08:12:33 adam Exp $ d27 2 @ 1.30 log @Fix building on Mac OS X @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.29 2008/06/14 20:00:15 heinz Exp $ d4 1 a4 1 PKGREVISION= 2 d10 1 a10 1 COMMENT= USB access library @ 1.29 log @The package supports installation to DESTDIR. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.28 2007/10/11 18:25:19 drochner Exp $ d11 1 @ 1.28 log @Make usb_control_msg() return the number of bytes actually transferred rather than the requested transfer length (USBD_SHORT_XFER_OK is set, so this may happen). This is the documented behaviour, and it is appearently what the Linux version does. Bump PKGREVISION. From Erik Berls per PR pkg/37053. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.27 2006/05/26 10:06:13 joerg Exp $ d12 2 @ 1.27 log @Fix path names to USB devices on DragonFly. Bump revision. Based on patch from Joe Talbott. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.26 2006/03/11 08:34:12 adam Exp $ d4 1 a4 1 PKGREVISION= 1 @ 1.26 log @Changes 0.1.12: Fix structure padding issues on some architectures Fix compile warnings with newer versions of gcc Fix memory leak when continuously rescanning for devices Check for device nodes in /dev/usb under Linux Fix compile problem with Darwin/Mac OS X port Add support for Darwin/Mac OS X 10.4 Fix error when transactions are aborted Requery endpoints when switching alternate settings Support more BSD based distributions Fix problem with short control messages in BSD port Various other minor fixes @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.25 2005/12/05 20:50:05 rillig Exp $ d4 1 @ 1.25 log @Fixed pkglint warnings. The warnings are mostly quoting issues, for example MAKE_ENV+=FOO=${BAR} is changed to MAKE_ENV+=FOO=${BAR:Q}. Some other changes are outlined in http://mail-index.netbsd.org/tech-pkg/2005/12/02/0034.html @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.24 2005/10/25 15:52:33 heinz Exp $ d3 1 a3 1 DISTNAME= libusb-0.1.10a d16 1 @ 1.24 log @Enabled tests through appropriate TEST_TARGET. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.23 2005/08/22 17:15:23 reed Exp $ d12 1 a12 1 GCC_REQD= 3.3 @ 1.23 log @Add DragonFly support. (Okayed by drochner@@.) This needs testing under DragonFly. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.22 2005/04/11 21:45:28 tv Exp $ d20 2 @ 1.22 log @Remove USE_BUILDLINK3 and NO_BUILDLINK; these are no longer used. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.21 2005/02/24 18:46:49 drochner Exp $ d18 1 a18 1 ONLY_FOR_PLATFORM+= OpenBSD-*-* @ 1.21 log @require gcc 3.3; should fix build on NetBSD-1.6 (PR pkg/29456 by diro@@nixsys.bz) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.20 2005/02/14 09:50:18 adam Exp $ a10 1 USE_BUILDLINK3= yes @ 1.20 log @Changes 0.1.10: * Fix various compile warnings * Require newer autotools * Switch from QT to STL for C++ extensions * Linux: * Speed up small bulk and interrupt transfers to previous speeds * Fix case where bulk and interrupt transfers could block forever * Fix tree heirarchy building code (undocumented) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.19 2004/10/03 00:13:31 tv Exp $ d3 1 a3 1 DISTNAME= libusb-0.1.10 d13 1 @ 1.19 log @Libtool fix for PR pkg/26633, and other issues. Update libtool to 1.5.10 in the process. (More information on tech-pkg.) Bump PKGREVISION and BUILDLINK_DEPENDS of all packages using libtool and installing .la files. Bump PKGREVISION (only) of all packages depending directly on the above via a buildlink3 include. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.18 2004/06/23 08:45:59 wiz Exp $ d3 1 a3 2 DISTNAME= libusb-0.1.8 PKGREVISION= 2 d11 4 a14 2 USE_BUILDLINK3= YES GNU_CONFIGURE= YES a15 1 USE_LIBTOOL= YES @ 1.18 log @Bump PKGREVISION for patch-ad (usb_bulk_read() bugfix by mycroft). @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.17 2004/06/06 02:22:15 grant Exp $ d4 1 a4 1 PKGREVISION= 1 @ 1.17 log @libusb is only for Darwin, FreeBSD, Linux, NetBSD and OpenBSD. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.16 2004/05/03 08:45:44 adam Exp $ d4 1 @ 1.16 log @Changes 1.0.8: New Features: * Synchronous Interrupt read support. * Added new usb_get_descriptor_by_endpoint() function. Properly prototyped existing usb_get_descriptor() function. * (Linux) Check for usbdevfs in /sys/bus/usb (2.6 kernel). * (Linux) Added usb_get_driver_np() function to get driver bound to interface. * (Linux) Added usb_detach_kernel_driver_np() function to detach kernel driver from interface. Bug Fixes: * Many return values are starting to become normalized (consistent across ports) * Various bug fixes in Darwin port. * Fix usb_string() to fetch language index correctly. * More documentation updates and fixes. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.15 2004/02/21 22:54:04 cube Exp $ d16 3 @ 1.15 log @bl3ify @ text @d1 1 a1 2 # $NetBSD: Makefile,v 1.14 2004/02/14 17:21:38 jlam Exp $ # d3 1 a3 1 DISTNAME= libusb-0.1.7 @ 1.14 log @LIBTOOL_OVERRIDE and SHLIBTOOL_OVERRIDE are now lists of shell globs relative to ${WRKSRC}. Remove redundant LIBTOOL_OVERRIDE settings that are automatically handled by the default setting in bsd.pkg.mk. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.13 2003/07/17 21:31:46 grant Exp $ d12 1 a12 1 USE_BUILDLINK2= YES @ 1.13 log @s/netbsd.org/NetBSD.org/ @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.12 2002/11/18 06:25:51 schmonz Exp $ a15 1 LIBTOOL_OVERRIDE= ${WRKSRC}/libtool @ 1.12 log @Update to 0.1.7. Changes from 0.1.6a: Fix up error codes for darwin port. Make sure short transfers are allowed on BSD port. Fix bug when finding new busses during usb_find_busses(). Added two new functions: usb_get_string() and usb_get_string_simple(). Documentation updates. Added LICENSE file. Various other cleanups. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.11 2002/10/22 16:00:33 drochner Exp $ d8 1 a8 1 MAINTAINER= drochner@@netbsd.org @ 1.11 log @forcibly disable building docs, otherwise it tries if jade is found and fails @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.10 2002/08/26 17:54:34 jlam Exp $ d4 1 a4 2 DISTNAME= libusb-0.1.6a PKGNAME= ${DISTNAME:S/a/.1/} @ 1.10 log @buildlink1 -> buildlink2 @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.9 2002/08/25 19:22:33 jlam Exp $ d15 1 @ 1.9 log @Merge changes in packages from the buildlink2 branch that have buildlink2.mk files back into the main trunk. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5.2.2 2002/08/22 11:10:46 jlam Exp $ d13 1 a13 1 USE_BUILDLINK_ONLY= YES @ 1.8 log @Make PKGNAME's version number part numeric. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.7 2002/08/19 19:07:19 mycroft Exp $ @ 1.7 log @Update to 0.1.6a. There is no documentation included on the changes, but a cursory inspection suggests that they are mostly build related, and some minor bug fixes to the platform-dependent code. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2002/05/08 17:43:40 drochner Exp $ d5 1 @ 1.6 log @LTCONFIG_OVERRIDE->LIBTOOL_OVERRIDE @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5 2002/03/03 15:26:58 veego Exp $ d4 1 a4 2 DISTNAME= libusb-0.1.5 PKGREVISION=1 @ 1.5 log @Bump version to 0.1.5nb1 after the -current usb fix. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2002/02/07 07:31:48 martti Exp $ d16 1 a16 1 LTCONFIG_OVERRIDE= ${WRKSRC}/ltconfig @ 1.5.2.1 log @Merge from pkgsrc-current to buildlink2 branch. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.6 2002/05/08 17:43:40 drochner Exp $ d16 1 a16 1 LIBTOOL_OVERRIDE= ${WRKSRC}/libtool @ 1.5.2.2 log @Merge changes from pkgsrc-current into the buildlink2 branch for the packages that have buildlink2.mk files. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.5.2.1 2002/06/23 18:44:32 jlam Exp $ d4 2 a5 2 DISTNAME= libusb-0.1.6a PKGNAME= ${DISTNAME:S/a/.1/} @ 1.4 log @Updated libusb to 0.1.5 (provided by Amitai Schlair in pkg/15516). This version of libusb is required by the soon-to-be-released gphoto2. - Add support for MacOS X (Darwin) - Fix endianess correctly where applicable on all OS' - Return bytes written/read for control message (BSD) - Tweak documentation build - Fix bug when usb_find_devices was called multiple times (Linux) - Fetch descriptors for all devices when we can and parse them @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2002/01/03 10:42:49 martti Exp $ d5 1 @ 1.3 log @Updated to 0.1.4. List of changes is unknown (ChangeLog was not updated). @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2001/07/24 11:17:46 jlam Exp $ d4 1 a4 1 DISTNAME= libusb-0.1.4 @ 1.2 log @Mark as USE_BUILDLINK_ONLY and add a buildlink.mk file for use by other package Makefiles. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.1.1.1 2001/03/28 10:11:41 drochner Exp $ d4 1 a4 1 DISTNAME= libusb-0.1.3b @ 1.1 log @Initial revision @ text @d1 1 a1 1 # $NetBSD$ d12 3 a14 2 GNU_CONFIGURE= YES USE_LIBTOOL= yes @ 1.1.1.1 log @user level USB access library, used by Linux apps mostly @ text @@