glue flex pvc

I’m installing my new PureLine chlorinator.  I need to glue fittings to existing flex pvc that has UV damage.  What is the best glue to use?

A basic two-part pvc glue will do the job.