Line 0
Link Here
|
|
|
1 |
eliminates unused variable ROOT, which disturbs ld from Prefix. Bug #414335 |
2 |
--- Makefile.in 2001-11-27 07:38:13.000000000 +0900 |
Lines 13-19
SRC_URI="http://www.rtfm.com/ssldump/${M
Link Here
|
13 |
|
13 |
|
14 |
LICENSE="openssl" |
14 |
LICENSE="openssl" |
15 |
SLOT="0" |
15 |
SLOT="0" |
16 |
KEYWORDS="amd64 ppc sparc x86" |
16 |
KEYWORDS="amd64 ~arm ppc sparc x86 ~amd64-linux ~x86-linux ~ppc-macos" |
17 |
IUSE="ssl" |
17 |
IUSE="ssl" |
18 |
|
18 |
|
19 |
RDEPEND="net-libs/libpcap |
19 |
RDEPEND="net-libs/libpcap |
Lines 26-32
src_prepare() {
Link Here
|
26 |
epatch "${FILESDIR}"/${P}-libpcap-header.patch \ |
26 |
epatch "${FILESDIR}"/${P}-libpcap-header.patch \ |
27 |
"${FILESDIR}"/${P}-configure-dylib.patch \ |
27 |
"${FILESDIR}"/${P}-configure-dylib.patch \ |
28 |
"${FILESDIR}"/${P}-openssl-0.9.8.compile-fix.patch \ |
28 |
"${FILESDIR}"/${P}-openssl-0.9.8.compile-fix.patch \ |
29 |
"${FILESDIR}"/${P}-DLT_LINUX_SLL.patch |
29 |
"${FILESDIR}"/${P}-DLT_LINUX_SLL.patch \ |
|
|
30 |
"${FILESDIR}"/${P}-makefile-fix.patch |
30 |
|
31 |
|
31 |
sed -i configure.in -e 's|libpcap.a|libpcap.so|g' || die |
32 |
sed -i configure.in -e 's|libpcap.a|libpcap.so|g' || die |
32 |
|
33 |
|
Lines 35-42
src_prepare() {
Link Here
|
35 |
|
36 |
|
36 |
src_configure() { |
37 |
src_configure() { |
37 |
local myconf |
38 |
local myconf |
38 |
use ssl || myconf="--without-openssl" |
39 |
myconf="${myconf} \ |
39 |
|
40 |
--with-pcap-inc=${EPREFIX}/usr/include \ |
|
|
41 |
--with-pcap-lib=${EPREFIX}/usr/$(get_libdir)" |
42 |
|
43 |
if use ssl; then |
44 |
myconf="${myconf} \ |
45 |
--with-openssl-inc=${EPREFIX}/usr/include \ |
46 |
--with-openssl-lib=${EPREFIX}/usr/$(get_libdir)" |
47 |
else |
48 |
myconf="${myconf} --without-openssl" |
49 |
fi |
50 |
|
40 |
econf ${myconf} |
51 |
econf ${myconf} |
41 |
} |
52 |
} |
42 |
|
53 |
|