File 01_kdepot.patch of Package klamav

diff -Nur -x '*.orig' -x '*~' klamav-0.44/admin/cvs.sh klamav-0.44.new/admin/cvs.sh
--- klamav-0.44/admin/cvs.sh	2008-07-06 08:05:42.000000000 -0400
+++ klamav-0.44.new/admin/cvs.sh	2008-07-07 12:57:21.000000000 -0400
@@ -537,6 +537,8 @@
 if test -z "$PREPARETIPS"; then PREPARETIPS=preparetips ; fi
 export EXTRACTRC PREPARETIPS
 
+kdepotpath=/usr/include/kde/kde.pot
+
 for subdir in $dirs; do
   test -z "$VERBOSE" || echo "Making messages in $subdir"
   (cd $subdir
@@ -554,7 +556,6 @@
    fi
    perl -e '$mes=0; while (<STDIN>) { next if (/^(if\s|else\s|endif)/); if (/^messages:/) { $mes=1; print $_; next; } if ($mes) { if (/$\\(XGETTEXT\)/ && / -o/) { s/ -o \$\(podir\)/ _translatorinfo.cpp -o \$\(podir\)/ } print $_; } else { print $_; } }' < Makefile.am | egrep -v '^include ' > _transMakefile
 
-   kdepotpath=${includedir:-`kde-config --expandvars --install include`}/kde.pot
    if ! test -f $kdepotpath; then
 	kdepotpath=`kde-config --expandvars --prefix`/include/kde.pot
    fi
openSUSE Build Service is sponsored by