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/mail-mta/nbsmtp/nbsmtp-1.00-r3.ebuild,v 1.3 2006/09/17 17:13:58 ferdy Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/mail-mta/nbsmtp/nbsmtp-1.00-r3.ebuild,v 1.3 2006/09/17 17:13:58 ferdy Exp $ |
4 |
|
4 |
|
5 |
inherit mailer eutils |
5 |
inherit mailer eutils toolchain-funcs |
6 |
|
6 |
|
7 |
DESCRIPTION="Extremely simple MTA to get mail off the system to a relayhost" |
7 |
DESCRIPTION="Extremely simple MTA to get mail off the system to a relayhost" |
8 |
SRC_URI="http://www.gentoo-es.org/~ferdy/${P}.tar.bz2" |
8 |
SRC_URI="http://www.gentoo-es.org/~ferdy/${P}.tar.bz2" |
Lines 20-28
Link Here
|
20 |
unpack ${A} |
20 |
unpack ${A} |
21 |
cd "${S}" |
21 |
cd "${S}" |
22 |
epatch "${FILESDIR}"/${P}-openssl.patch |
22 |
epatch "${FILESDIR}"/${P}-openssl.patch |
|
|
23 |
sed -i \ |
24 |
-e '/CFLAGS=/a\LDLIBS=@LIBS@' \ |
25 |
-e '/$(CC) -o/d' \ |
26 |
Makefile.in || die 'Failed to sed Makefile.in' |
23 |
} |
27 |
} |
24 |
|
28 |
|
25 |
src_compile() { |
29 |
src_compile() { |
|
|
30 |
tc-export CC |
26 |
econf $(use_enable ssl) \ |
31 |
econf $(use_enable ssl) \ |
27 |
$(use_enable debug) \ |
32 |
$(use_enable debug) \ |
28 |
$(use_enable ipv6) \ |
33 |
$(use_enable ipv6) \ |