<p dir="ltr"><br>
On Sep 19, 2014 5:55 AM, "Charles Lepple" <<a href="mailto:clepple@gmail.com">clepple@gmail.com</a>> wrote:<br>
><br>
> On Sep 18, 2014, at 10:09 PM, Stan Gammons <<a href="mailto:sg063015@gmail.com">sg063015@gmail.com</a>> wrote:<br>
><br>
> ><br>
> > On 09/17/14 22:31, Charles Lepple wrote:<br>
> >> Can you rebuild the libusb1 pkg as a port, with the DEBUG flag turned on?<br>
> ><br>
> ><br>
> > Is --enable-debug the way one turns it on? I modified the Makefile as shown below, then did a make and make install.<br>
><br>
> I am not sure how to tell OpenBSD to use that ".ifdef DEBUG" section. I think FreeBSD would let you set a DEBUG checkbox when you run "make config", but that doesn't seem to work.<br>
><br>
> In any event, it looks like the right option is the existing "--enable-debug-log" flag. The path of least resistance is probably to add it to the first CONFIGURE_ARGS, after ${CONFIGURE_SHARED}:<br>
><br>
> CONFIGURE_ARGS += ${CONFIGURE_SHARED} --enable-debug-log<br>
><br>
> --<br>
> Charles Lepple<br>
> clepple@gmail<br>
><br>
></p>
<p dir="ltr">--enable-debug-log was in the original makefile. I added --enable-debug. At this point I guess trying to build from source or go back to OpenBSD 5.5 are the only options left.</p>
<p dir="ltr">Thanks for all the help.<br></p>
<p dir="ltr">Stan<br>
</p>