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

« back to all changes in this revision

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