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

« back to all changes in this revision

Viewing changes to rubynative/configure

  • 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:
1236
1236
# Building paths
1237
1237
pathtmp="$PATH"
1238
1238
PATH="..:$HOME/bin:/usr/local/bin:/usr/local/sbin:/usr/bin:/usr/sbin:/bin:/sbin"
1239
 
PATH="$PATH:/usr/ccs/bin:/usr/ucb:$pathtmp"
 
1239
PATH="$PATH:/usr/ccs/bin:/usr/ucb:/usr/xpg4/bin:/usr/xpg6/bin:$pathtmp"
1240
1240
LIBRARY_PATH="..:$HOME/lib:/usr/local/lib:$LIBRARY_PATH"
1241
1241
LD_LIBRARY_PATH="..:$HOME/lib:/usr/local/lib:$LD_LIBRARY_PATH"
1242
1242
CPATH="..:$HOME/include:/usr/local/include:$CPATH"
1255
1255
  export PATH LIBRARY_PATH LD_LIBRARY_PATH CPATH PKG_CONFIG_PATH
1256
1256
fi
1257
1257
 
 
1258
# Setting the default prefix
 
1259
if test "$prefix" = NONE
 
1260
then
 
1261
  prefix=`ruby -rrbconfig -e 'puts(Config::CONFIG.fetch("prefix"))'`
 
1262
fi
 
1263
 
1258
1264
 
1259
1265
 
1260
1266
#================================================================