1
0
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:
Maxim Sobolev 2000-09-25 07:16:53 +00:00
parent e29c060b2d
commit 4a05c0ccb1
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=33085
3 changed files with 25 additions and 0 deletions

View File

@ -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}

View 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"

View 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);