diff options
author | Hye-Shik Chang <perky@FreeBSD.org> | 2003-11-04 18:07:03 +0000 |
---|---|---|
committer | Hye-Shik Chang <perky@FreeBSD.org> | 2003-11-04 18:07:03 +0000 |
commit | 360fced4289a3622e735f0df66a71a97ca13c1ad (patch) | |
tree | fe419d937332bfe321d7748c191f994bfefc9e1c /Mk/bsd.python.mk | |
parent | - Include pyexpat module in python base ports because python incorporated (diff) |
Add dependency line for pyexpat as ${PYEXPAT} to provide adaptive
dependency for both of pre-2.3.2_2 and after-.
Notes
Notes:
svn path=/head/; revision=93096
Diffstat (limited to 'Mk/bsd.python.mk')
-rw-r--r-- | Mk/bsd.python.mk | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/Mk/bsd.python.mk b/Mk/bsd.python.mk index a5be4451278e..f01e5e15403f 100644 --- a/Mk/bsd.python.mk +++ b/Mk/bsd.python.mk @@ -312,6 +312,12 @@ PYNUMERIC= ${PYTHON_SITELIBDIR}/Numeric/Numeric.py:${PORTSDIR}/math/py-numeric PYXML= ${PYTHON_SITELIBDIR}/_xmlplus/__init__.py:${PORTSDIR}/textproc/py-xml .endif +.if defined(PYTHON_REL) && ${PYTHON_REL} < 232 +PYEXPAT= ${PYTHON_SITELIBDIR}/pyexpat.so:${PORTSDIR}/textproc/py-expat +.else +PYEXPAT= ${PYTHON_LIBDIR}/lib-dynload/pyexpat.so:${PYTHON_PORTSDIR} +.endif + # dependencies PYTHON_NO_DEPENDS?= NO |