That is quite different then supporting the enslaving and trading of human beings. So do you think that made him a racist?
You do know the U.S. constitution - the one Lincoln twice took an oath to preserve, protect and defend - enshrined slavery.
Beyond that, President Lincoln in his first inaugural address said of the proposed Corwin amendment which would have protected slavery from being repealed by constitutional amendment: “I have no objection.”
As to your inquiry about Lincoln being a racist . . . I assume you are asking if Lincoln is a racist based on the post-post-modern definition of the word.
Yes. If Lincoln were to salute the American flag today he would be branded a racist by the people whose job is to find and identify racists.
If you are asking if Lincoln would have been considered a racist in his day - no, I don't think so. For one thing, the word “racist” had not yet been invented. And if the word had existed there would have been no economic or political advantage for a northern or southern opponent of Lincoln to brand him a racist.