freebsd-ports/sysutils/lcdproc/files/patch-configure
Pav Lucistnik 8ca1b92a03 - Fix build on 5.x
PR:		ports/59521
Submitted by:	Clement Laforet <sheepkiller@cultdeadsheep.org>
Approved by:	adamw (mentor)
2003-11-20 22:33:20 +00:00

28 lines
864 B
Text

--- configure.orig Thu May 30 07:20:57 2002
+++ configure Thu Nov 20 16:11:23 2003
@@ -886,7 +886,7 @@
if test $debug = "yes"; then
CFLAGS="-g -O"
else
- CFLAGS="-O3"
+
fi
CFLAGS="-Wall $CFLAGS"
export CFLAGS
@@ -1842,7 +1842,7 @@
fi
-for ac_hdr in sched.h sys/sched.h machine/cpufunc.h sys/types.h machine/pio.h machine/sysarch.h sys/cpuvar.h
+for ac_hdr in sched.h machine/cpufunc.h sys/types.h machine/pio.h machine/sysarch.h sys/cpuvar.h
do
ac_safe=`echo "$ac_hdr" | sed 'y%./+-%__p_%'`
echo $ac_n "checking for $ac_hdr""... $ac_c" 1>&6
@@ -2902,6 +2902,7 @@
echo $ac_n "checking for your mounted filesystem table""... $ac_c" 1>&6
echo "configure:2905: checking for your mounted filesystem table" >&5
+ac_cv_mtab_file=/etc/fstab
if eval "test \"`echo '$''{'ac_cv_mtab_file'+set}'`\" = set"; then
echo $ac_n "(cached) $ac_c" 1>&6
else