Writing your own Makefile for OpenBSD ports
- by The_dude_man
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.