mirror of
https://git.FreeBSD.org/ports.git
synced 2024-12-24 04:33:24 +00:00
Fix hardcoded paths.
This commit is contained in:
parent
e29c060b2d
commit
4a05c0ccb1
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=33085
@ -7,6 +7,7 @@
|
||||
|
||||
PORTNAME= glimmer
|
||||
PORTVERSION= 0.9.19
|
||||
PORTREVISION= 1
|
||||
CATEGORIES= editors gnome python
|
||||
MASTER_SITES= ${MASTER_SITE_SOURCEFORGE}
|
||||
MASTER_SITE_SUBDIR= ${PORTNAME}
|
||||
|
13
editors/glimmer/files/patch-ab
Normal file
13
editors/glimmer/files/patch-ab
Normal file
@ -0,0 +1,13 @@
|
||||
--- src/declarations.h 2000/09/23 17:26:18 1.1
|
||||
+++ src/declarations.h 2000/09/23 17:26:55
|
||||
@@ -48,8 +48,8 @@
|
||||
|
||||
#define MAX_FILES 30
|
||||
|
||||
-#define PIXMAP_DIR (PREFIX "/share/pixmaps")
|
||||
-#define LANG_DIR (PREFIX "/share/" PACKAGE "/languages")
|
||||
+#define PIXMAP_DIR (PREFIX "/share/gnome/pixmaps")
|
||||
+#define LANG_DIR (PREFIX "/share/gnome/" PACKAGE "/languages")
|
||||
|
||||
#define URL "http://glimmer.sourceforge.net"
|
||||
|
11
editors/glimmer/files/patch-ac
Normal file
11
editors/glimmer/files/patch-ac
Normal file
@ -0,0 +1,11 @@
|
||||
--- src/macro-language.c 2000/09/23 17:27:54 1.1
|
||||
+++ src/macro-language.c 2000/09/23 17:28:19
|
||||
@@ -100,7 +100,7 @@
|
||||
void build_scripts_menu(void)
|
||||
{
|
||||
gchar path[384];
|
||||
- g_snprintf(path, sizeof(path), PREFIX "/share/" PACKAGE "/scripts");
|
||||
+ g_snprintf(path, sizeof(path), PREFIX "/share/gnome/" PACKAGE "/scripts");
|
||||
build_menu_from_scripts_dir(path, scriptsmenu);
|
||||
g_snprintf(path, sizeof(path), "%s/." PACKAGE "/scripts", getenv("HOME"));
|
||||
build_menu_from_scripts_dir(path, scriptsmenu);
|
Loading…
Reference in New Issue
Block a user