Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 91995 Details for
Bug 140786
avango-1.0.1.ebuild (New Package
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
build-avango.sh
build-avango (text/plain), 2.26 KB, created by
David Schaefer
on 2006-07-17 07:56:37 UTC
(
hide
)
Description:
build-avango.sh
Filename:
MIME Type:
Creator:
David Schaefer
Created:
2006-07-17 07:56:37 UTC
Size:
2.26 KB
patch
obsolete
>#! /bin/sh > >set -e >set -u > >scriptsdir=`dirname "$0"` > >get_optarg() { > > expr "x$1" : "x[^=]*=\\(.*\\)" >} > >usage() { > > printf "usage: %s --prefix=/... --srcdir=/...\\n" "$0" 1>&2 > exit 1 >} > >while test $# -gt 0; do > case "$1" in > --prefix=*) > prefix=`get_optarg "$1"` > shift > ;; > --srcdir=*) > srcdir=`get_optarg "$1"` > shift > ;; > *) > usage > ;; > esac >done > >case "${prefix+set},${prefix-}" in >"set,/"*) > ;; >*) usage > ;; >esac > >case "${srcdir+set},${srcdir-}" in >"set,/"*) > ;; >*) usage > ;; >esac > >pre_configure() { > phase="pre_configure" > > test ! -f "${phase}_done" || return 0 > > echo "done" > "${phase}_done" >} > >do_configure() { > phase="do_configure" > > test ! -f "${phase}_done" || return 0 > > echo "done" > "${phase}_done" >} > >post_configure() { > phase="post_configure" > > test ! -f "${phase}_done" || return 0 > > cat > "system-dependent-hacks.h" <<EOF >/* > * This file contains system-dependent hacks and should be included > * before _any_ other header file. > */ > >/* The <linux/compiler.h> header defines the macro barrier() with zero > * parameters, which conflicts with a function definition of the same > * name in the <ulocks.h> header. Therefore, the header must be included > * first. This only works because apparently the libfp does not use this > * function. If it does nevertheless, the barrier macro must be undefined > * before. > */ >#ifdef __linux ># include <ulocks.h> >#endif >EOF > > find "${srcdir}/src" -type f -name '*.c++' \ > -exec perl "${scriptsdir}/sys-hacks.pl" '{}' ';' > > echo "done" > "${phase}_done" >} > >pre_build() { > phase="pre_build" > > test ! -f "${phase}_done" || return 0 > > echo "done" > "${phase}_done" >} > >do_build() { > phase="do_build" > > test ! -f "${phase}_done" || return 0 > > make > > echo "done" > "${phase}_done" >} > >post_build() { > phase="post_build" > > test ! -f "${phase}_done" || return 0 > > echo "done" > "${phase}_done" >} > >pre_install() { > phase="pre_install" > > test ! -f "${phase}_done" || return 0 > > echo "done" > "${phase}_done" >} > >do_install() { > phase="do_install" > > test ! -f "${phase}_done" || return 0 > > make targets > > echo "done" > "${phase}_done" >} > >post_install() { > phase="post_install" > > test ! -f "${phase}_done" || return 0 > > echo "done" > "${phase}_done" >} > > >pre_configure >do_configure >post_configure > >pre_build >do_build >post_build > >pre_install >do_install >post_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 140786
:
91994
| 91995 |
91996
|
91997
|
91998
|
91999