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

(-)fox-1.2.6-r2.ebuild- (+16 lines)
Added Link Here
1
--- configure.in-	2005-03-28 16:16:37.000000000 +0000
Added 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/x11-libs/fox/fox-1.2.6-r2.ebuild,v 1.9 2005/02/19 08:03:26 corsair Exp $
3
# $Header: /var/cvsroot/gentoo-x86/x11-libs/fox/fox-1.2.6-r2.ebuild,v 1.9 2005/02/19 08:03:26 corsair Exp $
4
4
5
inherit flag-o-matic
5
IUSE="cups debug truetype opengl"
6
IUSE="cups debug truetype opengl"
6
DESCRIPTION="C++ based Toolkit for developing Graphical User Interfaces easily and effectively"
7
DESCRIPTION="C++ based Toolkit for developing Graphical User Interfaces easily and effectively"
7
SRC_URI="http://www.fox-toolkit.org/ftp/${P}.tar.gz"
8
SRC_URI="http://www.fox-toolkit.org/ftp/${P}.tar.gz"
Added Link Here
12
13
13
DEPEND="virtual/libc
14
DEPEND="virtual/libc
14
	virtual/x11
15
	virtual/x11
16
	>=sys-devel/autoconf-2.58
15
	truetype? ( >=media-libs/freetype-2.1.5-r1 )
17
	truetype? ( >=media-libs/freetype-2.1.5-r1 )
16
	opengl? ( virtual/opengl )"
18
	opengl? ( virtual/opengl )"
17
19
18
20
21
src_unpack() {
22
	ebegin "Unpack ${PV} source"
23
	unpack ${P}.tar.gz > /dev/null
24
	eend 0
25
	einfo "Use the builder's CXXFLAGS, not fox's idea of what they should be."
26
	cd ${S}
27
	epatch ${FILESDIR}/${P}-CXXFLAGS.patch
28
	WANT_AUTOCONF=2.5 autoconf || die "autoconf failed"
29
	libtoolize --copy --force
30
}
19
src_compile() {
31
src_compile() {
20
	local myconf
32
	local myconf
21
33
Added Link Here
23
	myconf="$myconf `use_enable cups`"              #default disabled
35
	myconf="$myconf `use_enable cups`"              #default disabled
24
	myconf="$myconf `use_enable debug`"             #default disabled
36
	myconf="$myconf `use_enable debug`"             #default disabled
25
	use truetype && myconf="$myconf --with-xft"     #default disabled
37
	use truetype && myconf="$myconf --with-xft"     #default disabled
38
	use debug || append-flags "-DNDEBUG"
26
39
40
	# Force configure to use our own CXXFLAGS
27
	# Following line closes #61694
41
	# Following line closes #61694
28
	CPPFLAGS="$CPPFLAGS -I/usr/include/freetype2" \
42
	CPPFLAGS="$CPPFLAGS -I/usr/include/freetype2" \
43
	CXXFLAGS=${CXXFLAGS} \
29
	./configure \
44
	./configure \
30
		--prefix=/usr \
45
		--prefix=/usr \
31
		--mandir='${prefix}'/share/man \
46
		--mandir='${prefix}'/share/man \

Return to bug 86874