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

Collapse All | Expand All

(-)/opt/gentoo/home/../usr/portage/sys-apps/file/file-5.04.ebuild (-1 / +12 lines)
Lines 17-23 KEYWORDS="~ppc-aix ~x64-freebsd ~x86-fre Link Here
17
17
18
IUSE="python"
18
IUSE="python"
19
19
20
DEPEND="python? ( virtual/python )"
20
DEPEND="python? ( virtual/python )
21
		mips-irix? (
22
			dev-libs/gnulib
23
		)"
21
RDEPEND="${DEPEND}"
24
RDEPEND="${DEPEND}"
22
25
23
src_unpack() {
26
src_unpack() {
Lines 48-53 src_compile() { Link Here
48
	# file uses things like strndup() and wcwidth()
51
	# file uses things like strndup() and wcwidth()
49
	append-flags -D_GNU_SOURCE
52
	append-flags -D_GNU_SOURCE
50
53
54
	if [[ "${CHOST}" == *-irix* ]]; then
55
		export ac_cv_func_getopt_long=yes
56
		append-flags -I"${EPREFIX}"/usr/$(get_libdir)/gnulib/include
57
		append-ldflags -L"${EPREFIX}"/usr/$(get_libdir)/gnulib/$(get_libdir)
58
		append-libs -lgnu
59
	fi
60
61
51
	econf || die
62
	econf || die
52
	emake || die
63
	emake || die
53
64

Return to bug 267075