Date: Thu, 05 Jul 2007 15:43:27 -0400 From: Tom Grove <freebsd@voidmain.net> To: "Richard J. Dawes" <rich@rdawes.net> Cc: python@freebsd.org, freebsd-python@freebsd.org Subject: Re: Using Python 2.5.1 for py-* ports? Message-ID: <468D49DF.1090408@voidmain.net> In-Reply-To: <20070629221034.GA90729@rdawes.net> References: <20070629221034.GA90729@rdawes.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Richard J. Dawes wrote: > Greetings! > > Using portupgrade I was able to install lang/python25 > with no problems. > > But the py-* ports I've checked (with the very handy > "pretty-print-build-depends-list" make target) all have > python24-2.4.4 as the dependency. > > When I look at the Makefiles, they don't specify, or > check for the usual knob syntax, or try to see what I > have installed. It just goes to the default in > bsd.python.mk, I'm guessing... > > Would someone please advise me as to what knob(s) to > set in my make.conf? If there's no support for those (?) > what would be the best manual approach? (I'd try to put > such options in my pkgtools.conf...) > > Many thanks to any suggestions!! > > -Rich > > > > From the bsd.python.mk file... # This file contains some variable definitions that are supposed to # make your life easier when dealing with ports related to the Python # language. It's automatically included when USE_PYTHON or PYTHON_VERSION # is defined in the ports' makefile. Define PYTHON_VERSION to override the # defaults that USE_PYTHON would give you. If your port requires only some # set of Python versions, you can define USE_PYTHON as [min]-[max] or # min+. (eg. 2.1-2.3, 2.0+ or -2.2) By guess would be that you should define PYTHON_VERSION in make.conf. -Tom
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?468D49DF.1090408>