Summary: | app-misc/delay: CC variable not respected | ||
---|---|---|---|
Product: | Gentoo Linux | Reporter: | Diego Elio Pettenò (RETIRED) <flameeyes> |
Component: | New packages | Assignee: | Gentoo Shell Tools project <shell-tools> |
Status: | RESOLVED FIXED | ||
Severity: | normal | CC: | gentoo |
Priority: | High | ||
Version: | unspecified | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Package list: | Runtime testing required: | --- | |
Bug Depends on: | |||
Bug Blocks: | 243502 | ||
Attachments: |
Update ebuild
Ebuild Patch |
Description
Diego Elio Pettenò (RETIRED)
2008-10-24 00:34:54 UTC
Created attachment 187388 [details, diff]
Update ebuild
It seems the ebuild is calling ./configure instead of econf, and switching that seems to fix it.
--- delay-1.6.ebuild 2008-03-26 12:05:23.000000000 -0700
+++ delay-1.6-r1.ebuild 2009-04-05 11:14:54.000000000 -0700
@@ -15,7 +15,7 @@
src_compile() {
sed -i -e "s/#include <stdio.h>/&\n#include <stdlib.h>/" delay.c
- ./configure \
+ econf \
--host=${CHOST} \
--prefix=/usr \
--infodir=/usr/share/info \
Created attachment 187624 [details, diff] Ebuild Patch Actually, I didn't really understand the problem. This should fix it for real, so it uses i686-pc-linux-gnu-gcc --- delay-1.6.ebuild 2008-03-26 12:05:23.000000000 -0700 +++ delay-1.6-r1.ebuild 2009-04-07 11:10:33.000000000 -0700 @@ -2,6 +2,8 @@ # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/app-misc/delay/delay-1.6.ebuild,v 1.16 2008/03/26 18:47:31 armin76 Exp $ +inherit toolchain-funcs + DESCRIPTION="sleeplike program that counts down the number of seconds specified" HOMEPAGE="http://onegeek.org/~tom/software/delay/" SRC_URI="http://onegeek.org/~tom/software/delay/dl/${P}.tar.gz" @@ -15,7 +17,8 @@ src_compile() { sed -i -e "s/#include <stdio.h>/&\n#include <stdlib.h>/" delay.c - ./configure \ + tc-export CC + econf \ --host=${CHOST} \ --prefix=/usr \ --infodir=/usr/share/info \ thx, applied. no version bump. |