diff options
Diffstat (limited to 'lang/sr/files/patch-aa')
-rw-r--r-- | lang/sr/files/patch-aa | 50 |
1 files changed, 50 insertions, 0 deletions
diff --git a/lang/sr/files/patch-aa b/lang/sr/files/patch-aa new file mode 100644 index 000000000000..42e03aec2fb3 --- /dev/null +++ b/lang/sr/files/patch-aa @@ -0,0 +1,50 @@ +--- configure.orig Thu Dec 14 06:46:18 1995 ++++ configure Thu Jun 26 03:00:03 1997 +@@ -77,6 +77,7 @@ + XINCL=/usr/include + if [ -d /usr/X11/include/X11 ]; then XINCL=/usr/X11/include; fi + if [ -d /usr/openwin/include/X11 ]; then XINCL=/usr/openwin/include; fi ++if [ -d /usr/X11R6/include/X11 ]; then XINCL=/usr/X11R6/include; fi + if [ ! -d $XINCL/X11 ]; then XINCL=; fi + + XTANGO=/home/sr/xtango/include +@@ -125,6 +126,11 @@ + LIBM="-lm -lc" + fi + ++# on FreeBSD, set X11R6 library ++if [ "`(uname -s) 2>/dev/null`" = "FreeBSD" ]; then ++ LIBR="-L/usr/X11R6/lib" ++fi ++ + # if this looks like an Arizona system, use our srmap file + if grep -s '^gmt:[^:]*:0*28:0*46:' /etc/passwd >/dev/null; then + SRMAP=srmap.az +@@ -174,11 +180,27 @@ + MAN5=/usr/man/local/man5 + MANEXT=1 + else ++ if [ -d /usr/local/man ]; then ++ MAN1=/usr/local/man/man1 ++ MAN3=/usr/local/man/man3 ++ MAN5=/usr/local/man/man5 ++ MANEXT=1 ++ else + MAN1=/usr/man/manl + MAN3=/usr/man/manl + MAN5=/usr/man/manl + MANEXT=l ++ fi + fi ++ ;; ++ prefix) ++ if [ "X${PREFIX}" = "X" ]; then PREFIX=/usr/local ; fi ++ SRCMD=${PREFIX}/bin ++ SRLIB=${PREFIX}/lib/sr ++ MAN1=${PREFIX}/man/man1 ++ MAN3=${PREFIX}/man/man3 ++ MAN5=${PREFIX}/man/man5 ++ MANEXT=1 + ;; + optlocal) + SRCMD=/opt/local/bin |