summaryrefslogtreecommitdiff
path: root/wm/enlightenment/patches/patch-ac
blob: ed52bcf70100bd64d80781fb622c14b177533689 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-ac,v 1.4 2005/01/11 13:41:24 adam Exp $

--- scripts/e_gen_menu.orig	2004-09-30 18:31:47.000000000 +0000
+++ scripts/e_gen_menu
@@ -25,7 +25,7 @@
 ##############################################################################
 
 # Likely  prefixes
-$Prefixes = "/usr/local:/usr:/opt::/opt/kde:$ENV{'KDEDIR'}";
+$Prefixes = "@LOCALBASE@:@X11BASE@:/usr:$ENV{'KDEDIR'}";
 $Prefixes = RemoveDuplcates($Prefixes);
 
 # Where to look for GNOME2/KDE2,3 stuff
@@ -53,7 +53,7 @@ $loc3 =~ s/_.*//;
 $loc1 = "" if ($loc1 eq $loc2);
 
 $EdirUser = "$ENV{'HOME'}/.enlightenment" unless $EdirUser;
-$EdirRoot = "/usr/share/enlightenment" unless $EdirRoot;
+$EdirRoot = "@PREFIX@/share/enlightenment" unless $EdirRoot;
 $EdirBin  = "/usr/bin" unless $EdirBin;
 
 $dbg      = "$ENV{'E_MENUGEN_DBG'}";