1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-20 00:21:35 +00:00

- add ${PYHASHLIB} dependency macro to bsd.python.mk

This commit is contained in:
Alexander Botero-Lowry 2006-12-13 03:22:22 +00:00
parent ce54679244
commit 261177b8bd
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=179626

View File

@ -110,6 +110,9 @@ Python_Include_MAINTAINER= python@FreeBSD.org
# PYCTYPES - Dependency line for the ctypes package. As of Python-2.5,
# this module is in the base distribution.
#
# PYHASHLIB - Dependency line for the hashlib package. As of Python-2.5,
# this module is in the base distribution.
#
# USE_PYTHON_PREFIX - Says that the port installs in ${PYTHONBASE}.
#
# USE_PYDISTUTILS - Use distutils as do-configure, do-build and do-install
@ -441,6 +444,12 @@ PYCTYPES= ${PYTHON_SITELIBDIR}/ctypes/__init__.py:${PORTSDIR}/devel/py-ctypes
PYCTYPES= ${PYTHON_LIBDIR}/ctypes/__init__py:${PYTHON_PORTSDIR}
.endif
.if defined(PYTHON_REL) && ${PYTHON_REL} < 250
PYHASHLIB= ${PYTHON_SITELIBDIR}/hashlib.py:${PORTSDIR}/security/py-hashlib
.else
PYHASHLIB= ${PYTHON_LIBDIR}/hashlib.py:${PYTHON_PORTSDIR}
.endif
# dependencies
PYTHON_NO_DEPENDS?= NO