During a nasty Republican primary last month in the Suffolk County town of Brookhaven , which includes Farmingville , the two candidates for town supervisor vied to be known as the more hard-line anti-illegal-immigrant candidate .