summaryrefslogtreecommitdiff
path: root/math/xgap/patches/patch-aa
blob: cabcf276ba617324b268c362c845516994974d0c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-aa,v 1.1.1.1 2002/12/22 19:26:57 cjep Exp $

--- configure.orig	Sat Mar 17 08:38:40 2001
+++ configure
@@ -595,7 +595,7 @@ if test -z "$MAKE";  then
 fi
 
 ac_aux_dir=
-for ac_dir in ../../cnf $srcdir/../../cnf; do
+for ac_dir in ${GAP_DIRECTORY}/cnf $srcdir/../../cnf; do
   if test -f $ac_dir/install-sh; then
     ac_aux_dir=$ac_dir
     ac_install_sh="$ac_aux_dir/install-sh -c"
@@ -900,7 +900,7 @@ else
 fi
 
 
-gapdir=`(cd ../..;pwd)`
+gapdir=${GAP_DIRECTORY}
 trap '' 1 2 15
 cat > confcache <<\EOF
 # This file is a shell script that caches the results of configure