diff options
Diffstat (limited to 'archivers/file-roller')
-rw-r--r-- | archivers/file-roller/Makefile | 10 | ||||
-rw-r--r-- | archivers/file-roller/files/patch-src_fr-command-tar.c | 11 |
2 files changed, 20 insertions, 1 deletions
diff --git a/archivers/file-roller/Makefile b/archivers/file-roller/Makefile index 8f4fafdd2..467cb459c 100644 --- a/archivers/file-roller/Makefile +++ b/archivers/file-roller/Makefile @@ -18,11 +18,15 @@ DIST_SUBDIR= gnome2 MAINTAINER= gnome@FreeBSD.org COMMENT= An archive manager for zip files, tar, etc -RUN_DEPENDS= gtar:${PORTSDIR}/archivers/gtar +# XXX: We need the ports version of gtar since gtar-1.13.25 included with +# FreeBSD is not sufficient. If the base version of GNU tar is updated, then +# we can do away with this dependency. +RUN_DEPENDS= ${LOCALBASE}/bin/gtar:${PORTSDIR}/archivers/gtar USE_BZIP2= yes INSTALLS_OMF= yes USE_X_PREFIX= yes +USE_REINPLACE= yes USE_GMAKE= yes USE_GNOME= gnomeprefix intlhack gnomehack desktopfileutils nautilus2 USE_LIBTOOL_VER=15 @@ -31,6 +35,10 @@ CONFIGURE_ENV= CPPFLAGS="-I${LOCALBASE}/include" \ GCONF_SCHEMAS= file-roller.schemas +post-patch: + @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|' \ + ${WRKSRC}/src/fr-command-tar.c + post-install: @-update-desktop-database .if !defined(NOPORTDOCS) diff --git a/archivers/file-roller/files/patch-src_fr-command-tar.c b/archivers/file-roller/files/patch-src_fr-command-tar.c new file mode 100644 index 000000000..ea0addced --- /dev/null +++ b/archivers/file-roller/files/patch-src_fr-command-tar.c @@ -0,0 +1,11 @@ +--- src/fr-command-tar.c.orig Sun Feb 20 17:17:15 2005 ++++ src/fr-command-tar.c Sun Feb 20 17:19:07 2005 +@@ -219,7 +219,7 @@ + /* In solaris gtar is present under /usr/sfw/bin */ + + prev_path = g_getenv ("PATH"); +- temp = g_strdup_printf ("PATH=%s:%s", prev_path, "/usr/sfw/bin"); ++ temp = g_strdup_printf ("PATH=%s:%s:%s", "%%LOCALBASE%%/bin", prev_path, "/usr/sfw/bin"); + putenv (temp); + + path = g_find_program_in_path ("gtar"); |