ports/sysutils/conky/files/patch-configure
Dennis Herrmann 49e869c313 - Add support for Weather reports and apcupsd status
PR:		ports/143457
Submitted by:	Nikos Ntarmos <ntarmos@cs.uoi.gr> (maintainer)
2010-03-07 13:03:42 +00:00

37 lines
1 KiB
Text

--- configure.orig
+++ configure
@@ -12805,7 +12805,7 @@
if test x$want_apcupsd = xyes; then
- if test x"$uname" != xLinux; then
+ if test x"$uname" != xLinux -a x"$uname" != xFreeBSD; then
{ $as_echo "$as_me:$LINENO: apcupsd not supported on $uname... disabling" >&5
$as_echo "$as_me: apcupsd not supported on $uname... disabling" >&6;}
want_apcupsd=no
@@ -15930,7 +15930,7 @@
fi
fi
- for ac_prog in tolua++ tolua++5.1
+ for ac_prog in tolua++ tolua++5.1 tolua++-5.1
do
# Extract the first word of "$ac_prog", so it can be a program name with args.
set dummy $ac_prog; ac_word=$2
@@ -16006,7 +16006,7 @@
return 0;
}
_ACEOF
-for ac_lib in '' tolua++ tolua++5.1; do
+for ac_lib in '' tolua++-5.1 tolua++ tolua++5.1; do
if test -z "$ac_lib"; then
ac_res="none required"
else
@@ -19845,7 +19845,6 @@
ac_res=$ac_cv_search_clock_gettime
if test "$ac_res" != no; then
test "$ac_res" = "none required" || LIBS="$ac_res $LIBS"
- conky_LIBS="$conky_LIBS -lrt"
cat >>confdefs.h <<\_ACEOF
#define HAVE_CLOCK_GETTIME 1