mirror of
https://git.FreeBSD.org/ports.git
synced 2024-11-04 22:33:27 +00:00
c29796e9b4
A parallel language "Synchronization Resources" Submitted by: Ruslan Shevchenko <rssh@satori.ipri.kiev.ua> PR: 3758
51 lines
1.3 KiB
Plaintext
51 lines
1.3 KiB
Plaintext
--- 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
|