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

Collapse All | Expand All

(-)socklog-2.0.2.ebuild.orig (-3 / +8 lines)
Lines 11-17 Link Here
11
LICENSE="BSD"
11
LICENSE="BSD"
12
SLOT="0"
12
SLOT="0"
13
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
13
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sparc ~x86"
14
IUSE="static"
14
IUSE="static diet"
15
15
16
DEPEND=""
16
DEPEND=""
17
RDEPEND="${DEPEND}
17
RDEPEND="${DEPEND}
Lines 25-32 Link Here
25
	cd ${S}
25
	cd ${S}
26
26
27
	use static && append-ldflags -static
27
	use static && append-ldflags -static
28
	echo "$(tc-getCC) ${CFLAGS}" > src/conf-cc
28
	if use diet; then
29
	echo "$(tc-getCC) ${LDFLAGS}" > src/conf-ld
29
		echo -n "diet -Os $(tc-getCC) ${CFLAGS}" > src/conf-cc
30
		echo -n "diet -Os $(tc-getCC) ${LDFLAGS}" > src/conf-ld
31
	else
32
		echo "$(tc-getCC) ${CFLAGS}" > src/conf-cc
33
		echo "$(tc-getCC) ${LDFLAGS}" > src/conf-ld
34
	fi
30
}
35
}
31
36
32
src_compile() {
37
src_compile() {

Return to bug 94245