Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 344807 | Differences between
and this patch

Collapse All | Expand All

(-)file_not_specified_in_diff (-11 / +18 lines)
Line  Link Here
0
-- tar-1.25.ebuild
0
++ tar-1.25.ebuild
Lines 2-8 Link Here
2
# Distributed under the terms of the GNU General Public License v2
2
# Distributed under the terms of the GNU General Public License v2
3
# $Header: /var/cvsroot/gentoo-x86/app-arch/tar/tar-1.25.ebuild,v 1.1 2010/11/08 20:57:35 ssuominen Exp $
3
# $Header: /var/cvsroot/gentoo-x86/app-arch/tar/tar-1.25.ebuild,v 1.1 2010/11/08 20:57:35 ssuominen Exp $
4
4
5
EAPI="2"
5
EAPI="3"
6
6
7
inherit flag-o-matic
7
inherit flag-o-matic
8
8
Lines 14-20 Link Here
14
14
15
LICENSE="GPL-3"
15
LICENSE="GPL-3"
16
SLOT="0"
16
SLOT="0"
17
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd"
17
KEYWORDS="~ppc-aix ~x64-freebsd ~x86-freebsd ~hppa-hpux ~ia64-hpux ~x86-interix ~amd64-linux ~ia64-linux ~x86-linux ~ppc-macos ~x64-macos ~x86-macos ~m68k-mint ~sparc-solaris ~sparc64-solaris ~x64-solaris ~x86-solaris"
18
IUSE="nls static userland_GNU"
18
IUSE="nls static userland_GNU"
19
19
20
RDEPEND=""
20
RDEPEND=""
Lines 39-46 Link Here
39
	FORCE_UNSAFE_CONFIGURE=1 \
39
	FORCE_UNSAFE_CONFIGURE=1 \
40
	econf \
40
	econf \
41
		--enable-backup-scripts \
41
		--enable-backup-scripts \
42
		--bindir=/bin \
42
		--bindir="${EPREFIX}"/bin \
43
		--libexecdir=/usr/sbin \
43
		--libexecdir="${EPREFIX}"/usr/sbin \
44
		$(use_enable nls) \
44
		$(use_enable nls) \
45
		${myconf}
45
		${myconf}
46
}
46
}
Lines 57-66 Link Here
57
		doexe "${FILESDIR}"/rmt || die
57
		doexe "${FILESDIR}"/rmt || die
58
	fi
58
	fi
59
59
60
	# autoconf looks for gtar before tar (in configure scripts), hence
61
	# in Prefix it is important that it is there, otherwise, a gtar from
62
	# the host system (FreeBSD, Solaris, Darwin) will be found instead
63
	# of the Prefix provided (GNU) tar
64
	if use prefix ; then
65
		dodir /usr/bin
66
		dosym /bin/tar /usr/bin/gtar
67
	fi
68
60
	dodoc AUTHORS ChangeLog* NEWS README* THANKS
69
	dodoc AUTHORS ChangeLog* NEWS README* THANKS
61
	newman "${FILESDIR}"/tar.1 ${p}tar.1
70
	newman "${FILESDIR}"/tar.1 ${p}tar.1
62
	mv "${D}"/usr/sbin/${p}backup{,-tar}
71
	mv "${ED}"/usr/sbin/${p}backup{,-tar}
63
	mv "${D}"/usr/sbin/${p}restore{,-tar}
72
	mv "${ED}"/usr/sbin/${p}restore{,-tar}
64
65
	rm -f "${D}"/usr/$(get_libdir)/charset.alias
66
}
73
}
67
-- files/rmt
74
++ files/rmt
Lines 5-8 Link Here
5
# utilities that expect to find (and execute) rmt in the /etc directory
5
# utilities that expect to find (and execute) rmt in the /etc directory
6
# on remote systems.
6
# on remote systems.
7
#
7
#
8
exec /usr/sbin/rmt "$@"
8
exec rmt "$@"

Return to bug 344807