diff options
author | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-03-10 04:37:43 +0800 |
---|---|---|
committer | mezz <mezz@df743ca5-7f9a-e211-a948-0013205c9059> | 2007-03-10 04:37:43 +0800 |
commit | d9c7bd42af64ecd29eadbff4023f1c435819488f (patch) | |
tree | d5c4a79d210b899d8f228a932a3bdbfe69c9c18b /archivers/file-roller | |
parent | 96a5a9229701b152259fd4d09fdffbe0b7ef91a1 (diff) | |
download | marcuscom-ports-d9c7bd42af64ecd29eadbff4023f1c435819488f.tar.gz marcuscom-ports-d9c7bd42af64ecd29eadbff4023f1c435819488f.tar.zst marcuscom-ports-d9c7bd42af64ecd29eadbff4023f1c435819488f.zip |
Fix a hardcore path of /usr/local -> %%LOCALBASE%%. Somehow it has lost in
MC and FreeBSD ports tree has it correct.
git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@8470 df743ca5-7f9a-e211-a948-0013205c9059
Diffstat (limited to 'archivers/file-roller')
-rw-r--r-- | archivers/file-roller/files/patch-src_fr-command-tar.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/archivers/file-roller/files/patch-src_fr-command-tar.c b/archivers/file-roller/files/patch-src_fr-command-tar.c index 62b05bcce..78843a28c 100644 --- a/archivers/file-roller/files/patch-src_fr-command-tar.c +++ b/archivers/file-roller/files/patch-src_fr-command-tar.c @@ -5,7 +5,7 @@ if (g_file_test ("/usr/sfw/bin/gtar", G_FILE_TEST_IS_EXECUTABLE)) command = g_strdup ("/usr/sfw/bin/gtar"); +#elif defined(__FreeBSD__) -+ if (g_file_test ("/usr/local/bin/gtar", G_FILE_TEST_IS_EXECUTABLE)) ++ if (g_file_test ("%%LOCALBASE%%/bin/gtar", G_FILE_TEST_IS_EXECUTABLE)) + command = g_strdup ("%%LOCALBASE%%/bin/gtar"); #endif if (command != NULL) |