openbsd-ports/sysutils/d-feet/patches/patch-d-feet
2010-08-24 06:49:43 +00:00

25 lines
995 B
Plaintext

$OpenBSD: patch-d-feet,v 1.3 2010/08/24 06:49:43 ajacoutot Exp $
--- d-feet.orig Mon Aug 23 20:16:35 2010
+++ d-feet Tue Aug 24 08:41:37 2010
@@ -1,4 +1,4 @@
-#!/usr/bin/env python
+#!${MODPY_BIN}
#
# THIS FILE IS PART OF THE D-Feet PROJECT AND LICENSED UNDER THE GPL. SEE
# THE 'COPYING' FILE FOR DETAILS
@@ -32,10 +32,10 @@ if options.use_local_dirs:
else:
- ENV_PATHS = {"DFEET_DATA_PATH" : "/usr/share/dfeet/",
- "DFEET_IMAGE_PATH" : "/usr/share/dfeet/pixmaps/",
- "DFEET_LOCALE_PATH" : "/usr/share/locale/",
- "DFEET_HELP_PATH" : "/usr/share/gnome/dfeet/"
+ ENV_PATHS = {"DFEET_DATA_PATH" : "${PREFIX}/share/dfeet/",
+ "DFEET_IMAGE_PATH" : "${PREFIX}/share/dfeet/pixmaps/",
+ "DFEET_LOCALE_PATH" : "${PREFIX}/share/locale/",
+ "DFEET_HELP_PATH" : "${PREFIX}/share/gnome/dfeet/"
}
#must set variables before importing Globals because it requires them