Bug 217612 - sysutils/apcupsd fails to build usb driver even with USB config option on
Summary: sysutils/apcupsd fails to build usb driver even with USB config option on
Status: Closed Overcome By Events
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Danilo G. Baio
URL:
Keywords:
Depends on:
Blocks: 220002
  Show dependency treegraph
 
Reported: 2017-03-07 13:35 UTC by Isaac Waldron
Modified: 2017-06-15 13:28 UTC (History)
1 user (show)

See Also:


Attachments
Patch for sysutils/apcupsd/Makefile to fix USB driver building (394 bytes, patch)
2017-03-07 13:42 UTC, Isaac Waldron
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Isaac Waldron 2017-03-07 13:35:04 UTC
The apcupsd-3.14.14_1 version fails to build the USB driver even though the USB option is turned on.  Partial build output from the configure stage:

  drivers (no-* are disabled): apcsmart dumb net no-usb snmp pcnet modbus no-modbus-usb no-test

I have tried building with either USB turned on and off but this line remains the same.
Comment 1 Isaac Waldron 2017-03-07 13:42:13 UTC
Created attachment 180601 [details]
Patch for sysutils/apcupsd/Makefile to fix USB driver building

An extra underscore was added to the USB_DRV_CONFIGURE_ENABLE definition in the Makefile.  Removing it corrects the USB driver build on my system.
Comment 2 Isaac Waldron 2017-03-07 13:51:30 UTC
The change was introduced in ports r435590
Comment 3 Danilo G. Baio freebsd_committer freebsd_triage 2017-06-15 13:28:40 UTC
This was fixed in ports r435604