summaryrefslogtreecommitdiff
path: root/biology/py-biopython
diff options
context:
space:
mode:
authorHye-Shik Chang <perky@FreeBSD.org>2003-08-01 22:04:57 +0000
committerHye-Shik Chang <perky@FreeBSD.org>2003-08-01 22:04:57 +0000
commit2b12324a990fb7c1b293a428370469fe7e759a72 (patch)
tree084800ca96727214e01ed771d80aa29aed215f59 /biology/py-biopython
parentForced update to release 2003-07-24. (diff)
Fix python version detection routines to cope with python 2.3's
boolean representation.
Notes
Notes: svn path=/head/; revision=86153
Diffstat (limited to 'biology/py-biopython')
-rw-r--r--biology/py-biopython/pkg-req2
1 files changed, 1 insertions, 1 deletions
diff --git a/biology/py-biopython/pkg-req b/biology/py-biopython/pkg-req
index 481af4e9a7ad..1a2bc48824e3 100644
--- a/biology/py-biopython/pkg-req
+++ b/biology/py-biopython/pkg-req
@@ -4,7 +4,7 @@ PATH=$PATH:/usr/local/bin
if [ "x$1" = "xINSTALL" -o "x$2" = "xINSTALL" ]; then
PYTHON_GT=`python -c 'import string, sys; \
- print string.split(sys.version)[0] >= "2.0"'`
+ print string.split(sys.version)[0] >= "2.0" and 1'`
if [ "x${PYTHON_GT}" = "x1" ]; then
exit 0
else