r7834: remove getopt from package