Opened 13 years ago

Closed 13 years ago

#31055 closed defect (fixed)

libusb-devel neglects to link IOKit

Reported by: njbutko@… Owned by: adfernandes (Andrew Fernandes)
Priority: Normal Milestone:
Component: ports Version: 2.0.1
Keywords: Cc: ryandesign (Ryan Carsten Schmidt)
Port: libusb-devel

Description

when libusb-devel is built, the resulting library is not linked to IOKit, but should be.

Appending the following to the end of the Portfile fixes the issue:

configure.ldflags-append "-framework IOKit -framework CoreFoundation"

Change History (4)

comment:1 Changed 13 years ago by jmroot (Joshua Root)

Owner: changed from macports-tickets@… to adfernandes@…
Port: libusb-devel added

Please remember to fill in the Port field and cc the maintainer.

comment:2 Changed 13 years ago by adfernandes (Andrew Fernandes)

Resolution: fixed
Status: newclosed

Thanks!

Committed in r83550.

comment:3 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Cc: ryandesign@… added
Resolution: fixed
Status: closedreopened

The revision must be increased so everyone who already has the port installed will receive this new feature. Done in r83554.

comment:4 Changed 13 years ago by ryandesign (Ryan Carsten Schmidt)

Resolution: fixed
Status: reopenedclosed
Note: See TracTickets for help on using tickets.