pkgsrc-wip/kdebase-runtime4/patches/patch-ag
2008-02-07 12:12:28 +00:00

24 lines
963 B
Text

$NetBSD: patch-ag,v 1.2 2008/02/07 12:12:28 mwdavies Exp $
--- khelpcenter/searchhandlers/khc_htdig.pl.cmake.orig 2008-01-31 12:51:37.000000000 +1300
+++ khelpcenter/searchhandlers/khc_htdig.pl.cmake
@@ -26,8 +26,8 @@ use strict;
use Getopt::Long;
-my $htdigdata = "/srv/www/htdig/common/";
-my $htdigbin = "/usr/bin";
+my $htdigdata = "@CMAKE_INSTALL_PREFIX@/share/htdig/common/";
+my $htdigbin = "@CMAKE_INSTALL_PREFIX@/bin";
my $kdeprefix = "@CMAKE_INSTALL_PREFIX@";
chomp $kdeprefix;
@@ -93,7 +93,7 @@ ignore_noindex: true
max_hop_count: 4
robotstxt_name: kdedig
compression_level: 6
-template_map: Long long $kdeprefix/share/apps/khelpcenter/searchhandlers/htdig/htdig_long.html \\
+template_map: Long long $kdeprefix/share/kde/apps/khelpcenter/searchhandlers/htdig/htdig_long.html \\
Short short $htdigdata/short.html
search_algorithm: exact:1 prefix:0.8
maximum_pages: 1