~ubuntu-branches/ubuntu/trusty/hyperestraier/trusty-proposed

« back to all changes in this revision

Viewing changes to rubypure/configure.in

  • Committer: Bazaar Package Importer
  • Author(s): Steve Langasek
  • Date: 2006-11-14 05:28:32 UTC
  • mfrom: (2.1.4 feisty)
  • Revision ID: james.westby@ubuntu.com-20061114052832-0lzqzcefn8mt4yqe
Tags: 1.4.9-1.1
* Non-maintainer upload.
* High-urgency upload for RC bugfix.
* Set HOME=$(CURDIR)/junkhome when building, otherwise the package build
  will incorrectly look for headers there -- and fail when the directory
  exists and is unreadable, as happens sometimes on sudo-using
  autobuilders!

Show diffs side-by-side

added added

removed removed

Lines of Context:
18
18
# Building paths
19
19
pathtmp="$PATH"
20
20
PATH="..:$HOME/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin"
21
 
PATH="$PATH:/usr/ccs/bin:/usr/ucb:$pathtmp"
 
21
PATH="$PATH:/usr/ccs/bin:/usr/ucb:/usr/xpg4/bin:/usr/xpg6/bin:$pathtmp"
22
22
LIBRARY_PATH="..:$HOME/lib:/usr/local/lib:$LIBRARY_PATH"
23
23
LD_LIBRARY_PATH="..:$HOME/lib:/usr/local/lib:$LD_LIBRARY_PATH"
24
24
CPATH="..:$HOME/include:/usr/local/include:$CPATH"
37
37
  export PATH LIBRARY_PATH LD_LIBRARY_PATH CPATH PKG_CONFIG_PATH
38
38
fi
39
39
 
 
40
# Setting the default prefix
 
41
if test "$prefix" = NONE
 
42
then
 
43
  prefix=`ruby -rrbconfig -e 'puts(Config::CONFIG.fetch("prefix"))'`
 
44
fi
 
45
 
40
46
 
41
47
 
42
48
#================================================================