diff -Nurd -x'*~' getopt-1.1.4.orig/Makefile getopt-1.1.4/Makefile --- getopt-1.1.4.orig/Makefile 2005-11-07 17:32:46.000000000 -0500 +++ getopt-1.1.4/Makefile 2006-06-07 13:06:58.000000000 -0400 @@ -3,11 +3,11 @@ DESTDIR= prefix=/usr/local bindir=$(prefix)/bin -mandir=$(prefix)/man +mandir=$(prefix)/share/man man1dir=$(mandir)/man1 libdir=$(prefix)/lib sharedir=$(prefix)/share -getoptdir=$(libdir)/getopt +getoptdir=$(sharedir)/getoptbin localedir=$(sharedir)/locale # Define this to 0 to use the getopt(3) routines in this package. diff -Nurd -x'*~' getopt-1.1.4.orig/getopt.1 getopt-1.1.4/getopt.1 --- getopt-1.1.4.orig/getopt.1 2005-11-07 17:16:38.000000000 -0500 +++ getopt-1.1.4/getopt.1 2006-06-07 13:03:10.000000000 -0400 @@ -402,10 +402,8 @@ .SH EXAMPLES Example scripts for (ba)sh and (t)csh are provided with the .BR getopt (1) -distribution, and are optionally installed in -.B /usr/local/lib/getopt -or -.BR /usr/lib/getopt . +distribution, and are installed in +.B @PREFIX@/share/doc/getoptbin .SH ENVIRONMENT .IP POSIXLY_CORRECT This environment variable is examined by the