freebsd-ports/graphics/xawtv/files/patch-configure
Patrick Li cff7fbc298 Update to 3.73
PR:		35933
Submitted by:	maintainer
2002-03-15 21:58:58 +00:00

46 lines
1.3 KiB
Plaintext

--- configure.orig Thu Mar 14 14:51:55 2002
+++ configure Fri Mar 15 21:49:45 2002
@@ -2022,7 +2022,7 @@
OpenBSD | FreeBSD | NetBSD)
# *BSD has important stuff (from ports) in
# /usr/local ...
- CFLAGS="$CFLAGS -I/usr/local/include -L/usr/local/lib"
+ CFLAGS="$CFLAGS -I%%LOCALBASE%%/include -L/%%LOCALBASE%%/lib"
PLUGINS="drv0-bsd.so snd-oss.so"
VBIFLAGS="-DBSD"
;;
@@ -2586,10 +2586,10 @@
/usr/XFree86/include/X11
/usr/include
-/usr/local/include
+%%LOCALBASE%%/include
/usr/unsupported/include
/usr/athena/include
-/usr/local/x11r5/include
+%%LOCALBASE%%/x11r5/include
/usr/lpp/Xamples/include
/usr/openwin/include
@@ -4329,18 +4329,13 @@
echo "$as_me:4329: checking for X11 config directory" >&5
echo $ECHO_N "checking for X11 config directory... $ECHO_C" >&6
x11conf=/usr/X11R6/lib/X11
-if test -d /etc/X11; then
- x11conf=/etc/X11
-fi
+x11conf=%%X11BASE%%/lib/X11
echo "$as_me:4335: result: $x11conf" >&5
echo "${ECHO_T}$x11conf" >&6
echo "$as_me:4338: checking for X11 app-defaults directory" >&5
echo $ECHO_N "checking for X11 app-defaults directory... $ECHO_C" >&6
-resdir=/usr/X11R6/lib/X11
-if test -d /etc/X11/app-defaults; then
- resdir=/etc/X11
-fi
+resdir=%%X11BASE%%/lib/X11
echo "$as_me:4344: result: $resdir/app-defaults" >&5
echo "${ECHO_T}$resdir/app-defaults" >&6