Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 25 Sep 2010 22:40:04 GMT
From:      Josh Carroll <josh.carroll@gmail.com>
To:        freebsd-gnats-submit@FreeBSD.org
Subject:   ports/150949: devel/p5-usb needs to conditionally depend on libusb
Message-ID:  <201009252240.o8PMe4iu092648@www.freebsd.org>
Resent-Message-ID: <201009252250.o8PMo2ma024543@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>Number:         150949
>Category:       ports
>Synopsis:       devel/p5-usb needs to conditionally depend on libusb
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-ports-bugs
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          sw-bug
>Submitter-Id:   current-users
>Arrival-Date:   Sat Sep 25 22:50:01 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator:     Josh Carroll
>Release:        8.1-RELEASE-p2 AMD64
>Organization:
n/a
>Environment:
FreeBSD pflog.net 8.1-RELEASE FreeBSD 8.1-RELEASE #1 r208898M: Mon Jul 19 23:22:40 PDT 2010     root@pflog.net:/usr/obj/usr/src/sys/PFLOG  amd64
>Description:
The libusb port was updated to not install since it's in base, but the devel/p5-usb port depends on libusb unconditionally.

Can the Makefile be updated to check for the FreeBSD base version to conditionally include libusb as a LIB_DEPEND? I'm not sure in which release(s) libusb was pulled into base, or I'd provide a patched Makefile.

Thanks,
Josh
>How-To-Repeat:
Try to build devel/p5-usb on FreeBSD 8.1-RELEASE.
>Fix:
Remove LIB_DEPEND for libusb on base systems that have libusb included in world. Commenting out this line, it builds and works properly:

LIB_DEPENDS+=   usb-0.1.8:${PORTSDIR}/devel/libusb

>Release-Note:
>Audit-Trail:
>Unformatted:



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201009252240.o8PMe4iu092648>