Writing your own Makefile for OpenBSD ports

Posted by The_dude_man on Server Fault See other posts from Server Fault or by The_dude_man
Published on 2010-04-12T18:43:12Z Indexed on 2010/04/12 18:53 UTC
Read the original article Hit count: 546

Filed under:
|
|

I have an OpenBSD box running Python 2.6. I want to install py-setuptools, but that package is built against 2.5.

I was curious as to what the Makefile for py-setuptools

[Someone with rep, fix me please][http://www.openbsd.org/cgi-bin/cvsweb/ports/devel/py-setuptools/Makefile?rev=1.13;content-type=text%2Fx-cvsweb-markup ]

looks like, to see if it mentioned anything about Python 2.5 as a dependency. I did not find anything version-dependent.

I typed make install in /usr/ports/devel/py-setuptools on a whim, and it blew up because of failed missing Python 2.5 dependency. That is expected.

My question is, How do I modify the Makefile to build against Python 2.6 ?

I came across this in the man pages

[please fix me][http://www.openbsd.org/cgi-bin/man.cgi?query=port-modules&sektion=5&arch=&apropos=0&manpath=OpenBSD+4.6#CORE+MODULES]

, but I am still clueless how to specify what version to build against. Also, I dont see anything that actually installs the egg.

© Server Fault or respective owner

Related posts about openbsd

Related posts about ports