Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 54685 Details for
Bug 86874
x11-libs/fox-1.2.6-r2.ebuild ignores make.conf CXXFLAGS, resulting in huge libraries with poor performance.
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Add a patchfile and modify ebuild to use it: Use our CXXFLAGS instead of fox's.
fox-1.2.6.patch (text/plain), 1.92 KB, created by
Ferris McCormick (RETIRED)
on 2005-03-28 09:44:06 UTC
(
hide
)
Description:
Add a patchfile and modify ebuild to use it: Use our CXXFLAGS instead of fox's.
Filename:
MIME Type:
Creator:
Ferris McCormick (RETIRED)
Created:
2005-03-28 09:44:06 UTC
Size:
1.92 KB
patch
obsolete
>--- /dev/null 1970-01-01 00:00:00.000000000 +0000 >+++ files/fox-1.2.6-CXXFLAGS.patch 2005-03-28 16:18:02.000000000 +0000 >@@ -0,0 +1,13 @@ >+--- configure.in- 2005-03-28 16:16:37.000000000 +0000 >++++ configure.in 2005-03-28 16:02:52.000000000 +0000 >+@@ -54,8 +54,8 @@ >+ AC_SUBST(LT_REVISION) >+ AC_SUBST(LT_AGE) >+ >+-dnl Prevents setting flags. >+-CXXFLAGS="" >++# dnl Prevents setting flags. >++# CXXFLAGS="" >+ >+ dnl Checks for programs. >+ AC_PROG_MAKE_SET >--- fox-1.2.6-r2.ebuild- 2005-03-28 13:33:47.000000000 +0000 >+++ fox-1.2.6-r2.ebuild 2005-03-28 16:21:24.000000000 +0000 >@@ -2,6 +2,7 @@ > # Distributed under the terms of the GNU General Public License v2 > # $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 $ > >+inherit flag-o-matic > IUSE="cups debug truetype opengl" > DESCRIPTION="C++ based Toolkit for developing Graphical User Interfaces easily and effectively" > SRC_URI="http://www.fox-toolkit.org/ftp/${P}.tar.gz" >@@ -12,10 +13,21 @@ > > DEPEND="virtual/libc > virtual/x11 >+ >=sys-devel/autoconf-2.58 > truetype? ( >=media-libs/freetype-2.1.5-r1 ) > opengl? ( virtual/opengl )" > > >+src_unpack() { >+ ebegin "Unpack ${PV} source" >+ unpack ${P}.tar.gz > /dev/null >+ eend 0 >+ einfo "Use the builder's CXXFLAGS, not fox's idea of what they should be." >+ cd ${S} >+ epatch ${FILESDIR}/${P}-CXXFLAGS.patch >+ WANT_AUTOCONF=2.5 autoconf || die "autoconf failed" >+ libtoolize --copy --force >+} > src_compile() { > local myconf > >@@ -23,9 +35,12 @@ > myconf="$myconf `use_enable cups`" #default disabled > myconf="$myconf `use_enable debug`" #default disabled > use truetype && myconf="$myconf --with-xft" #default disabled >+ use debug || append-flags "-DNDEBUG" > >+ # Force configure to use our own CXXFLAGS > # Following line closes #61694 > CPPFLAGS="$CPPFLAGS -I/usr/include/freetype2" \ >+ CXXFLAGS=${CXXFLAGS} \ > ./configure \ > --prefix=/usr \ > --mandir='${prefix}'/share/man \
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 86874
: 54685