From 65819abc9779a3a49c60312dcf81edcb5ae696ff Mon Sep 17 00:00:00 2001 From: marcus Date: Sun, 20 Feb 2005 22:24:29 +0000 Subject: FreeBSD 5.3 and higher already has gtar in /usr/bin, but this gtar is too old. So fix things a bit so that we always depend on the gtar port, and we always use ${LOCALBASE}/bin/gtar. Things would be so much better if GNU tar was updated to 1.15.1 in the base OS. git-svn-id: svn://creme-brulee.marcuscom.com/ports/trunk@3686 df743ca5-7f9a-e211-a948-0013205c9059 --- archivers/file-roller/Makefile | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) (limited to 'archivers/file-roller/Makefile') 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) -- cgit v1.2.3