Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
View | Details | Raw Unified | Return to bug 84482
Collapse All | Expand All

(-)pound-1.7.ebuild.org (-2 / +22 lines)
Lines 2-7 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/www-servers/pound/pound-1.7.ebuild,v 1.2 2004/09/03 15:58:51 pvdabeel Exp $
3
# $Header: /var/cvsroot/gentoo-x86/www-servers/pound/pound-1.7.ebuild,v 1.2 2004/09/03 15:58:51 pvdabeel Exp $
4
4
5
#inherit flag-o-matic
6
5
MY_P=${P/p/P}
7
MY_P=${P/p/P}
6
8
7
DESCRIPTION="A http/https reverse-proxy and load-balancer."
9
DESCRIPTION="A http/https reverse-proxy and load-balancer."
Lines 18-31 Link Here
18
20
19
S=${WORKDIR}/${MY_P}
21
S=${WORKDIR}/${MY_P}
20
22
23
24
src_unpack() {
25
	unpack ${A}
26
	cd ${S}
27
28
	sed -i.org \
29
		-e 's/$(CC) @LDFLAGS@ -o pound $(OBJS) $(LIBS)/& $(CFLAGS)/' \
30
		Makefile.in || die "sedline for Makefile failed"
31
}
32
21
src_compile() {
33
src_compile() {
22
	local myconf
34
	local myconf
23
35
24
	## check for ssl-support:
36
	## check for ssl-support:
25
	myconf="${myconf} `use_with ssl` `use_enable msdav` `use_enable unsafe`"
37
	myconf="${myconf} `use_with ssl` `use_enable msdav` `use_enable unsafe`"
26
38
27
	econf ${myconf} || die "configure failed"
39
	#[ use static ] && append-flags "-static"
28
	emake || die "compile failed"
40
41
	if use static; then
42
		## econf conflicts with CFLAGS ...
43
		CFLAGS="-static" ./configure ${myconf} || die "configure failed"
44
		emake || die "compile failed"
45
	else
46
		econf ${myconf} || die "configure failed"
47
		emake || die "compile failed"
48
	fi
29
}
49
}
30
50
31
src_install() {
51
src_install() {

Return to bug 84482