Apache OpenOffice (AOO) Bugzilla – Attachment #7502: cd to store, patch -p0 < /path/to/patchfile Removes libraries from link line that aren't needed on OS X. for issue #16608
.IF "$(OS)"=="FREEBSD"
SHL1STDLIBS+= -lsupc++
.ELSE
.IF "$(OS)"!="MACOSX"
SHL1STDLIBS+= -lsupc++ -lgcc_s
.ENDIF