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

Collapse All | Expand All

(-)/usr/portage/dev-util/bouml/bouml-2.30.2.ebuild (-7 / +8 lines)
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/dev-util/bouml/bouml-2.30.2.ebuild,v 1.1 2007/08/17 23:13:40 ferdy Exp $
3
# $Header: /var/cvsroot/gentoo-x86/dev-util/bouml/bouml-2.30.2.ebuild,v 1.1 2007/08/17 23:13:40 ferdy Exp $
4
4
5
inherit qt3 toolchain-funcs multilib eutils
5
inherit multilib qt3
6
6
7
MY_P="${PN}_${PV}"
7
MY_P="${PN}_${PV}"
8
8
Lines 21-33 Link Here
21
S="${WORKDIR}/${MY_P}"
21
S="${WORKDIR}/${MY_P}"
22
22
23
src_compile() {
23
src_compile() {
24
	emake QMAKE="${QTDIR}/bin/qmake" \
24
	find src/ genplugouts/ -type f -name "*.pro" | while read file; do
25
		CC="$(tc-getCC) ${CFLAGS}" \
25
		local subdir="${file%/*}"
26
		CXX="$(tc-getCXX) ${CXXFLAGS}" \
26
		eqmake3 ${file} -o ${subdir}/Makefile
27
		LINK="$(tc-getCXX) ${LDFLAGS}" \
27
		emake -C ${subdir} || die "emake failed in ${subdir}"
28
		|| die "emake failed"
28
	done
29
}
29
}
30
30
31
src_install() {
31
src_install() {
32
	emake BOUML_LIB="/usr/$(get_libdir)/bouml" DESTDIR="${D}" install || die "emake install failed"
32
	emake BOUML_LIB="/usr/$(get_libdir)/bouml" DESTDIR="${D}" install \
33
		|| die "emake install failed"
33
}
34
}

Return to bug 189045