Lines 13-19
Link Here
|
13 |
SRC_URI="http://bits.xensource.com/oss-xen/release/${PV}/xen-${PV}.tar.gz" |
13 |
SRC_URI="http://bits.xensource.com/oss-xen/release/${PV}/xen-${PV}.tar.gz" |
14 |
# vtpm? ( mirror://berlios/tpm-emulator/${TPMEMUFILE} )" |
14 |
# vtpm? ( mirror://berlios/tpm-emulator/${TPMEMUFILE} )" |
15 |
S="${WORKDIR}/xen-${PV}" |
15 |
S="${WORKDIR}/xen-${PV}" |
16 |
TARGS="tools/misc/lomount/Makefile tools/fs-back/Makefile" |
|
|
17 |
|
16 |
|
18 |
LICENSE="GPL-2" |
17 |
LICENSE="GPL-2" |
19 |
SLOT="0" |
18 |
SLOT="0" |
Lines 120-130
Link Here
|
120 |
if ! use pygrub; then |
119 |
if ! use pygrub; then |
121 |
sed -i -e '/^SUBDIRS-$(PYTHON_TOOLS) += pygrub$/d' "${S}"/tools/Makefile |
120 |
sed -i -e '/^SUBDIRS-$(PYTHON_TOOLS) += pygrub$/d' "${S}"/tools/Makefile |
122 |
fi |
121 |
fi |
123 |
|
|
|
124 |
# Fix ldflags |
125 |
sed -e 's/$(CFLAGS) /$(CFLAGS) $(LDFLAGS) /' -i ${TARGS} |
126 |
sed -e 's:^LDFLAGS =:#LDFLAGS =:' -i ./tools/libfsimage/common/Makefile |
127 |
# elog "dflags fixed" |
128 |
} |
122 |
} |
129 |
|
123 |
|
130 |
src_compile() { |
124 |
src_compile() { |