summaryrefslogtreecommitdiff
path: root/wm/enlightenment/patches/patch-ac
diff options
context:
space:
mode:
Diffstat (limited to 'wm/enlightenment/patches/patch-ac')
-rw-r--r--wm/enlightenment/patches/patch-ac22
1 files changed, 22 insertions, 0 deletions
diff --git a/wm/enlightenment/patches/patch-ac b/wm/enlightenment/patches/patch-ac
new file mode 100644
index 00000000000..f84e2fe5968
--- /dev/null
+++ b/wm/enlightenment/patches/patch-ac
@@ -0,0 +1,22 @@
+$NetBSD: patch-ac,v 1.3 2004/08/26 20:22:18 recht Exp $
+
+--- scripts/e_gen_menu.orig 2004-06-13 22:44:03.000000000 +0200
++++ scripts/e_gen_menu 2004-08-26 21:48:46.000000000 +0200
+@@ -25,7 +25,7 @@
+ ##############################################################################
+
+ # Likely prefixes
+-$Prefixes = "/usr/local:/usr:/opt";
++$Prefixes = "@LOCALBASE@:@X11BASE@:/usr";
+
+ # Where to look for GNOME2/KDE2,3 stuff
+ $AppDirs = MkDirList($Prefixes, "/share/applications");
+@@ -51,7 +51,7 @@
+ $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'}";