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

(-)/usr/portage/app-crypt/qca-ossl/qca-ossl-2.0.0_beta3.ebuild (-17 / +3 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/app-crypt/qca-ossl/qca-ossl-2.0.0_beta3.ebuild,v 1.14 2008/10/03 22:29:30 loki_val Exp $
3
# $Header: /var/cvsroot/gentoo-x86/app-crypt/qca-ossl/qca-ossl-2.0.0_beta3.ebuild,v 1.14 2008/10/03 22:29:30 loki_val Exp $
4
4
5
EAPI=2
5
inherit base eutils qt4
6
inherit base eutils qt4
6
7
7
MY_P="${P/_/-}"
8
MY_P="${P/_/-}"
Lines 16-22 SLOT="2" Link Here
16
KEYWORDS="~alpha amd64 hppa ~ia64 ppc ppc64 sparc x86 ~x86-fbsd"
17
KEYWORDS="~alpha amd64 hppa ~ia64 ppc ppc64 sparc x86 ~x86-fbsd"
17
IUSE="debug"
18
IUSE="debug"
18
19
19
DEPEND=">=app-crypt/qca-${QCA_VER}
20
DEPEND=">=app-crypt/qca-${QCA_VER}[debug?]
20
	>=dev-libs/openssl-0.9.6"
21
	>=dev-libs/openssl-0.9.6"
21
RDEPEND="${DEPEND}"
22
RDEPEND="${DEPEND}"
22
23
Lines 24-44 S="${WORKDIR}/${MY_P}" Link Here
24
25
25
PATCHES=( "${FILESDIR}/${PN}-openssl-0.9.8i.patch" )
26
PATCHES=( "${FILESDIR}/${PN}-openssl-0.9.8i.patch" )
26
27
27
pkg_setup() {
28
src_configure() {
28
	if use debug && ! built_with_use ">=app-crypt/qca-${QCA_VER}" debug; then
29
		echo
30
		eerror "You are trying to compile ${PN} with USE=\"debug\""
31
		eerror "while qca is built without this flag. It will not work."
32
		echo
33
		eerror "Possible solutions to this problem are:"
34
		eerror "a) install ${PN} without debug USE flag"
35
		eerror "b) re-emerge qca with debug USE flag"
36
		echo
37
		die "can't emerge ${PN} with debug USE flag"
38
	fi
39
}
40
41
src_compile() {
42
	# cannot use econf because of non-standard configure script
29
	# cannot use econf because of non-standard configure script
43
	./configure \
30
	./configure \
44
		--qtdir=/usr \
31
		--qtdir=/usr \
Lines 48-54 src_compile() { Link Here
48
35
49
	eqmake4 ${PN}.pro
36
	eqmake4 ${PN}.pro
50
	sed -i -e '/strip/d' Makefile || die "sed failed"
37
	sed -i -e '/strip/d' Makefile || die "sed failed"
51
	emake || die "emake failed"
52
}
38
}
53
39
54
src_install() {
40
src_install() {

Return to bug 270653