Date: 10 Sep 2000 01:33:19 -0700 From: asami@FreeBSD.org (Satoshi - Ports Wraith - Asami) To: "Akinori -Aki- MUSHA" <knu@idaemons.org> Cc: Maxim Sobolev <sobomax@FreeBSD.org>, Thomas Gellekum <tg@FreeBSD.org>, cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: ports/Mk bsd.python.mk Message-ID: <vqcits4tzn4.fsf@silvia.hip.berkeley.edu> In-Reply-To: "Akinori -Aki- MUSHA"'s message of "Sun, 10 Sep 2000 01:50:55 %2B0900" References: <200009081143.EAA52948@freefall.freebsd.org> <39BA06C7.6CA18114@FreeBSD.org> <86wvglse4w.wl@archon.local.idaemons.org>
next in thread | previous in thread | raw e-mail | index | archive | help
* From: "Akinori -Aki- MUSHA" <knu@idaemons.org> * I'd suggest introducing PYTHON_VER as follows: * * PYTHON_VER= ${PYTHON_VERSION:R} * * so you can simply check the version like this: * * .if ${PYTHON_VER} >= 1.6 Be careful when you get there. A lot of ports got bitten by OSREL. It works fine until you run into versions like "2.2.6". ;) I recommend you add a full integer version that is always used when there are comparisons. (Sort of like OSVERSION vs. OSREL in bsd.port.mk.) Satoshi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe cvs-all" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?vqcits4tzn4.fsf>