Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 478352 - sys-freebsd/freebsd-lib: The issue of compatibility for filename of libusb1.0.pc
Summary: sys-freebsd/freebsd-lib: The issue of compatibility for filename of libusb1.0.pc
Status: RESOLVED FIXED
Alias: None
Product: Gentoo/Alt
Classification: Unclassified
Component: FreeBSD (show other bugs)
Hardware: All FreeBSD
: Normal normal (vote)
Assignee: Gentoo/BSD Team
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-07-27 12:36 UTC by Yuta SATOH
Modified: 2013-07-27 16:23 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
patch for freebsd-lib-9.1-r10.ebuild (478352.patch,656 bytes, patch)
2013-07-27 12:38 UTC, Yuta SATOH
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Yuta SATOH 2013-07-27 12:36:03 UTC
The filename should be same as Linux.

On Gentoo/Linux
# equery f libusb | grep pc
/usr/lib64/pkgconfig/libusb.pc
/usr/lib64/pkgconfig/libusb-1.0.pc

On Gentoo/FreeBSD
# equery f freebsd-lib | grep pc$
/usr/lib/pkgconfig/libusb.pc
/usr/lib/pkgconfig/libusb1.0.pc


FYI,
I found when compiling sys-apps/usbutils-007 this issue.

checking for x86_64-gentoo-freebsd9.0-pkg-config... /usr/bin/x86_64-gentoo-freebsd9.0-pkg-config
checking pkg-config is at least version 0.9.0... yes
checking for LIBUSB... no
configure: error: Package requirements (libusb-1.0 >= 1.0.0) were not met:

No package 'libusb-1.0' found

Consider adjusting the PKG_CONFIG_PATH environment variable if you
installed software in a non-standard prefix.

Alternatively, you may set the environment variables LIBUSB_CFLAGS
and LIBUSB_LIBS to avoid the need to call pkg-config.
See the pkg-config man page for more details.

!!! Please attach the following file when seeking support:
!!! /var/tmp/portage/sys-apps/usbutils-007/work/usbutils-007/config.log
Comment 1 Yuta SATOH 2013-07-27 12:38:00 UTC
Created attachment 354308 [details, diff]
patch for freebsd-lib-9.1-r10.ebuild
Comment 2 Alexis Ballier gentoo-dev 2013-07-27 16:23:11 UTC
applied, thanks