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

Collapse All | Expand All

(-)lua-5.2.0.ebuild (-8 / +8 lines)
Lines 56-63 Link Here
56
}
56
}
57
57
58
src_compile() {
58
src_compile() {
59
	tc-export CC
60
	myflags=
61
	# what to link to liblua
59
	# what to link to liblua
62
	liblibs="-lm"
60
	liblibs="-lm"
63
	liblibs="${liblibs} $(dlopen_lib)"
61
	liblibs="${liblibs} $(dlopen_lib)"
Lines 73-84 Link Here
73
	local legacy=""
71
	local legacy=""
74
	use deprecated && legacy="-DLUA_COMPAT_ALL"
72
	use deprecated && legacy="-DLUA_COMPAT_ALL"
75
73
76
	emake CC="${CC}" CFLAGS="-DLUA_USE_LINUX ${legacy} ${CFLAGS}" \
74
	emake \
77
			RPATH="${EPREFIX}/usr/$(get_libdir)/" \
75
		CFLAGS="${CFLAGS}" \
78
			LUA_LIBS="${mylibs}" \
76
		SYSLDFLAGS="${LDFLAGS}" \
79
			LIB_LIBS="${liblibs}" \
77
		RPATH="${EPREFIX}/usr/$(get_libdir)/" \
80
			V=${PV} \
78
		LUA_LIBS="${mylibs}" \
81
			gentoo_all || die "emake failed"
79
		LIB_LIBS="${liblibs}" \
80
		V=${PV} \
81
		gentoo_all || die "emake failed"
82
}
82
}
83
83
84
src_install() {
84
src_install() {

Return to bug 406997