Vishnudharmottara Purana (Jyotisha Selections) · by Vyasa
Chapter 22 · The Jataka Chapter
जातकाध्यायः
भौमस्य जीवेन्दूष्णकराः सुहृदः, ज्ञोऽरिः सितार्कजौ समौ ।।
In the full Vishnudharmottara Purana this is Khanda 2, chapter 167, prose part 24.
Mars has Jupiter, the Moon and the Sun as friends. Mercury is its enemy. Venus and Saturn are neutral.
Simple meaning: Mars is friends with Jupiter, the Moon and the Sun, an enemy of Mercury, and neutral to Venus and Saturn.
बुधस्य सूर्यसितौ मित्रे, हिमगुः शत्रुः, भौमजीवशनैश्चराः समाः ।।
Mercury is friends with the Sun and Venus, an enemy of the Moon, and neutral to Mars, Jupiter and Saturn.
जीवस्य सूर्येन्दुभौमा मित्राणि, रविसुतो मध्यः, सौम्यसितावरी ।।
Jupiter is friends with the Sun, Moon and Mars, neutral to Saturn, and an enemy of Mercury and Venus.
शुक्रस्य बुधसौरौ मित्रे भौमजीवौ मध्यस्थौ सूर्येन्दू अरी ।।
Venus is friends with Mercury and Saturn, neutral to Mars and Jupiter, and an enemy of the Sun and Moon.