Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 214931 Details for
Bug 243606
app-misc/astrolog: CC variable not respected
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch to astrolog-5.40.ebuild, tries to respect both CC and CFLAGS
astrolog-5.40.ebuild.diff (text/plain), 1.43 KB, created by
Arttu Valo
on 2010-01-02 16:11:15 UTC
(
hide
)
Description:
Patch to astrolog-5.40.ebuild, tries to respect both CC and CFLAGS
Filename:
MIME Type:
Creator:
Arttu Valo
Created:
2010-01-02 16:11:15 UTC
Size:
1.43 KB
patch
obsolete
>--- /usr/portage/app-misc/astrolog/astrolog-5.40.ebuild 2010-01-01 20:05:37.000000000 +0200 >+++ ./astrolog-5.40-r1.ebuild 2010-01-02 17:59:04.000000000 +0200 >@@ -2,13 +2,17 @@ > # Distributed under the terms of the GNU General Public License v2 > # $Header: /var/cvsroot/gentoo-x86/app-misc/astrolog/astrolog-5.40.ebuild,v 1.13 2010/01/01 17:56:52 ssuominen Exp $ > >+EAPI=2 >+ >+inherit toolchain-funcs >+ > DESCRIPTION="A many featured astrology chart calculation program" > HOMEPAGE="http://www.astrolog.org/astrolog.htm" > SRC_URI="http://www.astrolog.org/ftp/ast54unx.shr" > > LICENSE="astrolog" > SLOT="0" >-KEYWORDS="x86 ppc64 ppc amd64" >+KEYWORDS="~amd64 ~ppc ~ppc64 ~x86" > IUSE="X" > > DEPEND="X? ( x11-libs/libX11 )" >@@ -16,11 +20,14 @@ > S=${WORKDIR} > > src_unpack() { >- bash "${DISTDIR}"/ast54unx.shr >- cd "${S}" >+ sh "${DISTDIR}"/ast54unx.shr >+} > >- # remove stripping of created binary and substituce CFLAGS >- sed -i -e "s:strip:#strip:" -e "s:= -O:= ${CFLAGS}:" Makefile >+src_prepare() { >+ # remove stripping of created binary, dump hardcoded CFLAGS, >+ # respect CC (bug #243606), and CFLAGS (bug #240057) >+ sed -i -e 's:strip:#strip:' -e 's:^CFLAGS = :#CFLAGS = :' \ >+ -e 's:\tcc :\t$(CC) $(CFLAGS) :' Makefile > > # we use /usr/share/astrolog for config and (optional) ephemeris-data-files > sed -i -e "s:~/astrolog:/usr/share/astrolog:g" astrolog.h >@@ -39,7 +46,7 @@ > } > > src_compile() { >- emake || die >+ emake CC="$(tc-getCC)" || die > } > > src_install() {
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 243606
: 214931