|
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: $ |
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 $ |
| 4 |
|
4 |
|
| 5 |
inherit eutils flag-o-matic toolchain-funcs |
5 |
inherit eutils toolchain-funcs |
| 6 |
|
6 |
|
| 7 |
MY_P=${P/-/_} |
7 |
MY_P=${P/-/_} |
| 8 |
DESCRIPTION="improved Whois Client" |
8 |
DESCRIPTION="improved Whois Client" |
|
Lines 22-28
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.26-gentoo-security.patch |
25 |
epatch "${FILESDIR}"/${PN}-4.7.19-gentoo-security.patch |
|
|
26 |
epatch "${FILESDIR}"/${PN}-4.7.2-config-file.patch |
| 26 |
|
27 |
|
| 27 |
if use nls ; then |
28 |
if use nls ; then |
| 28 |
cd po |
29 |
cd po |
|
Lines 34-42
Link Here
|
| 34 |
} |
35 |
} |
| 35 |
|
36 |
|
| 36 |
src_compile() { |
37 |
src_compile() { |
| 37 |
# if set, compile will fail. |
|
|
| 38 |
filter-ldflags -Wl,--as-needed --as-needed |
| 39 |
|
| 40 |
tc-export CC |
38 |
tc-export CC |
| 41 |
emake OPTS="${CFLAGS}" HAVE_LIBIDN=1 || die |
39 |
emake OPTS="${CFLAGS}" HAVE_LIBIDN=1 || die |
| 42 |
} |
40 |
} |