aboutsummaryrefslogtreecommitdiff
path: root/Mk/bsd.python.mk
diff options
context:
space:
mode:
authorHye-Shik Chang <perky@FreeBSD.org>2005-12-07 04:23:32 +0000
committerHye-Shik Chang <perky@FreeBSD.org>2005-12-07 04:23:32 +0000
commitfd8cf466badca7dec2c30f147ebe1efabb1d6cd4 (patch)
tree5d257a029789aaeae8a236aad7d86513ed5cefb7 /Mk/bsd.python.mk
parent466dbe84c3999d9f417abd2a46093a0e662c61ec (diff)
downloadports-fd8cf466badca7dec2c30f147ebe1efabb1d6cd4.tar.gz
ports-fd8cf466badca7dec2c30f147ebe1efabb1d6cd4.zip
Notes
Diffstat (limited to 'Mk/bsd.python.mk')
-rw-r--r--Mk/bsd.python.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/Mk/bsd.python.mk b/Mk/bsd.python.mk
index 4c9e29ee749d..e297d7dcb3d5 100644
--- a/Mk/bsd.python.mk
+++ b/Mk/bsd.python.mk
@@ -367,7 +367,7 @@ PYTHON_INCLUDEDIR= ${PYTHONBASE}/include/${PYTHON_VERSION}
PYTHON_LIBDIR= ${PYTHONBASE}/lib/${PYTHON_VERSION}
PYTHON_PKGNAMEPREFIX= py${PYTHON_SUFFIX}-
PYTHON_PKGNAMESUFFIX= -py${PYTHON_SUFFIX}
-PYTHON_PLATFORM!= ${EXPR} ${OPSYS:L}${OSREL} : '\([a-z]*[0-9]*\)\.'
+PYTHON_PLATFORM= ${OPSYS:L}${OSREL:C/\.[0-9.]*//}
PYTHON_SITELIBDIR= ${PYTHON_LIBDIR}/site-packages
PYTHONPREFIX_INCLUDEDIR= ${PYTHON_INCLUDEDIR:S;${PYTHONBASE};${PREFIX};}