The Siege of Firebase Gloria (1989)
The Siege of Firebase Gloria is a 1989 film starring Wings Hauser and R. Lee Ermey that was filmed in the Philippines. According to a question and answer period in Sydney, director Brian Trenchard-Smith said that R. Lee Ermey wrote the screenplay.
More at Wikipedia.