forked from Lainports/freebsd-ports
- Remove USE_XLIB/USE_X_PREFIX/USE_XPM in favor of USE_XORG - Remove X11BASE support in favor of LOCALBASE or PREFIX - Use USE_LDCONFIG instead of INSTALLS_SHLIB - Remove unneeded USE_GCC 3.4+ Thanks to all Helpers: Dmitry Marakasov, Chess Griffin, beech@, dinoex, rafan, gahr, ehaupt, nox, itetcu, flz, pav PR: 116263 Tested on: pointyhat Approved by: portmgr (pav)
58 lines
1.5 KiB
Text
58 lines
1.5 KiB
Text
--- configure.orig Wed Dec 13 13:46:18 1995
|
|
+++ configure Sun Jun 29 02:25:13 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 ${LOCALBASE}/include/X11 ]; then XINCL=${LOCALBASE}/include; fi
|
|
if [ ! -d $XINCL/X11 ]; then XINCL=; fi
|
|
|
|
XTANGO=/home/sr/xtango/include
|
|
@@ -125,6 +126,19 @@
|
|
LIBM="-lm -lc"
|
|
fi
|
|
|
|
+# on FreeBSD, set X11R6 library
|
|
+if [ "`(uname -s) 2>/dev/null`" = "FreeBSD" ]; then
|
|
+ LIBR="-L${LOCALBASE}/lib"
|
|
+fi
|
|
+# on OpenBSD, set X11R6 library
|
|
+if [ "`(uname -s) 2>/dev/null`" = "OpenBSD" ]; then
|
|
+ LIBR="-L${LOCALBASE}/lib"
|
|
+fi
|
|
+# on NetBSD, set X11R6 library
|
|
+if [ "`(uname -s) 2>/dev/null`" = "NetBSD" ]; then
|
|
+ LIBR="-L${LOCALBASE}/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 +188,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
|