This is an often-sought repair, and referenced on this site and on many other sailing sites and also some U-Tube videos. Lewmar sold a Lot of those to a Lot of boat builders in the 80's and 90's. (!)
Just one... Prior thread:
https://ericsonyachts.org/ie/threads/gasket-for-lewmar-opening-portlite-old-standard.21797/
If you search here, or on the WWW, with something like Lewmar opening port gasket replacement, you should get a lot of material to mull over.
I have a friend that replaced all these Lewmar proprietory gaskets in his E-38-200, and he still cringes at the mention of the job. He also replaced all of the old lenses that had become crazed. Looks great several years later, I should note. I chickened out and upgraded to the new-design Lewmar opening ports during our re-fit in 2021.
BTW, I will alter the thread title to make searching and indexing productive. Great question and the shared knowledge will help many other owners of 80's Ericson-built vessels.
Regards,
Loren