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

Collapse All | Expand All

(-)whois-4.7.24.ebuild (-4 / +6 lines)
Lines 1-8 Link Here
1
# Copyright 1999-2008 Gentoo Foundation
1
# Copyright 1999-2008 Gentoo Foundation
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/net-misc/whois/whois-4.7.24.ebuild,v 1.8 2008/01/10 09:14:01 vapier Exp $
3
# $Header: $
4
4
5
inherit eutils toolchain-funcs
5
inherit eutils flag-o-matic toolchain-funcs
6
6
7
MY_P=${P/-/_}
7
MY_P=${P/-/_}
8
DESCRIPTION="improved Whois Client"
8
DESCRIPTION="improved Whois Client"
Lines 22-29 Link Here
22
src_unpack() {
22
src_unpack() {
23
	unpack ${A}
23
	unpack ${A}
24
	cd "${S}"
24
	cd "${S}"
25
	epatch "${FILESDIR}"/${PN}-4.7.19-gentoo-security.patch
25
	epatch "${FILESDIR}"/${PN}-4.7.26-gentoo-security.patch
26
	epatch "${FILESDIR}"/${PN}-4.7.2-config-file.patch
27
26
28
	if use nls ; then
27
	if use nls ; then
29
		cd po
28
		cd po
Lines 35-40 Link Here
35
}
34
}
36
35
37
src_compile() {
36
src_compile() {
37
        # if set, compile will fail.
38
        filter-ldflags -Wl,--as-needed --as-needed
39
38
	tc-export CC
40
	tc-export CC
39
	emake OPTS="${CFLAGS}" HAVE_LIBIDN=1 || die
41
	emake OPTS="${CFLAGS}" HAVE_LIBIDN=1 || die
40
}
42
}

Return to bug 219498