BSD Ports

devel/linux_libusb 13.1.0_1 FreeBSD

Linux-compatibility LibUSB

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
91f5b9ec1d
License
BSD2CLAUSE
Categories
devel, linux
Package size
31.7 KiB, 135.2 KiB installed

Description

linux_libusb takes advantage of the FreeBSD's libusb(8) library, which got prepared to work correctly within the linux(4) emulation layer. It lets you to take a Linux binary linked with libusb.so and use it on FreeBSD.

In the other systems

SystemPortVersion
FreeBSDdevel/linux_libusb13.1.0_1
MidnightBSDdevel/linux_libusb13.1.0

Install

Binary package:

pkg install linux_libusb-c7

From the ports tree:

cd /usr/ports/devel/linux_libusb/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	linux_libusb-c7>0:devel/linux_libusb

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest13.1.0_113.1.0_1--13.1.0_1
FreeBSD:14:quarterly13.1.0_113.1.0_1n/a-13.1.0_1
FreeBSD:15:latest13.1.0_113.1.0_1n/a-13.1.0
FreeBSD:15:quarterly13.1.0_113.1.0_1n/an/an/a
FreeBSD:16:latest13.1.0_113.1.0_1n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

The Makefile names none itself; they come from USES and USE_*.

The full lists below include those, and their dependencies in turn.

Build dependencies 2
Run dependencies 1

Configuration

No options to configure.

USES
linux:c7 tar:bzip2
Service scripts
none
Flavors
linux_libusb-rl9-13.1.0_1

Files

distinfo 1
FileSizeSHA256
hselasky-linux_libusb-13.1.0_GH0.tar.gz896391c2eca07aaba1af10a51ce263938dea78b79efdd5616af6f58665188de455825

Commit history 1

DateCommitCreditsLog message
91f5b9ec1d Jochen Neumeister devel/linux_libusb: Fix build and hand over to emulation@
The Linux gcc picks up ld from devel/binutils, which cannot load the Linux LTO plugin, and linking libusb.so.3 fails. Point gcc at the linker from the Linux base with -B. Give maintainership to emulation@. Sponsored by: Netzkommune GmbH