freebsd-ports/archivers/engrampa/files/patch-src_fr-command-tar.c
Mathieu Arnold 9fa9eb9ac7 Cleanup patches, a* categories.
Rename them to follow the make makepatch naming, and regenerate them.

With hat:	portmgr
Sponsored by:	Absolight
2016-07-26 16:51:15 +00:00

13 lines
444 B
C

--- src/fr-command-tar.c.orig 2015-10-14 17:33:41 UTC
+++ src/fr-command-tar.c
@@ -245,6 +245,10 @@ begin_tar_command (FrCommand *comm)
g_free (command);
command = g_strdup ("/usr/sfw/bin/gtar");
}
+#elif defined(__FreeBSD__)
+ if (g_file_test ("%%LOCALBASE%%/bin/gtar", G_FILE_TEST_IS_EXECUTABLE))
+ command = g_strdup ("%%LOCALBASE%%/bin/gtar");
+
#endif
if (command != NULL)
fr_process_begin_command (comm->process, command);