From owner-cvs-all Sun Sep 10 1:33:32 2000 Delivered-To: cvs-all@freebsd.org Received: from granger.mail.mindspring.net (granger.mail.mindspring.net [207.69.200.148]) by hub.freebsd.org (Postfix) with ESMTP id 9F9CD37B422; Sun, 10 Sep 2000 01:33:28 -0700 (PDT) Received: from silvia.hip.berkeley.edu (sji-ca5-129.ix.netcom.com [209.109.234.129]) by granger.mail.mindspring.net (8.9.3/8.8.5) with ESMTP id EAA18425; Sun, 10 Sep 2000 04:33:25 -0400 (EDT) Received: (from asami@localhost) by silvia.hip.berkeley.edu (8.11.0/8.11.0) id e8A8XMj18717; Sun, 10 Sep 2000 01:33:22 -0700 (PDT) (envelope-from asami) To: "Akinori -Aki- MUSHA" Cc: Maxim Sobolev , Thomas Gellekum , cvs-committers@FreeBSD.org, cvs-all@FreeBSD.org Subject: Re: cvs commit: ports/Mk bsd.python.mk References: <200009081143.EAA52948@freefall.freebsd.org> <39BA06C7.6CA18114@FreeBSD.org> <86wvglse4w.wl@archon.local.idaemons.org> From: asami@FreeBSD.org (Satoshi - Ports Wraith - Asami) Date: 10 Sep 2000 01:33:19 -0700 In-Reply-To: "Akinori -Aki- MUSHA"'s message of "Sun, 10 Sep 2000 01:50:55 +0900" Message-ID: Lines: 18 X-Mailer: Gnus v5.7/Emacs 20.7 Sender: owner-cvs-all@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG * From: "Akinori -Aki- MUSHA" * 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