python-oauth2 icon indicating copy to clipboard operation
python-oauth2 copied to clipboard

Does not build on OpenBSD (corrections included)

Open chort opened this issue 14 years ago • 3 comments
trafficstars

Appears to require gmake rather than make, which I resolved by invoking via correct name (didn't see any hints to do this).

The following: DEPS := $(shell find $(PWD)/deps -type f -printf "file://%p ") does not work with BSD find (no -printf), changed to: DEPS := $(shell find $(PWD)/deps -type f -exec echo "file://{} " ;)

Similarly: SOURCES := $(shell find $(SRCDIR) -type f -name .py -not -name 'test__') does not work with BSD find (no -not), changed to: SOURCES := $(shell find $(SRCDIR) -type f ( -name _.py -and ! -name 'test_' ))

After making the above changes I was able to 'gmake' successfully on OpenBSD 4.8/macppc.

chort avatar Feb 23 '11 23:02 chort

Not sure what this has to do specifically with this repo. My python skills aren't uber but shouldn't building this lib be done via easy_install? cc @joestump

jaitaiwan avatar Jul 29 '15 12:07 jaitaiwan

He's talking about making the Makefile compatible with BSD. This is a valid bug I believe.

joestump avatar Jul 29 '15 16:07 joestump

Cool, seems like relatively simple changes, what's needed to get this into a PR @chort ?

jaitaiwan avatar Jul 29 '15 22:07 jaitaiwan