summaryrefslogtreecommitdiff
path: root/math/gap/patches/patch-aa
blob: 6d61d7e6179173206db2577356cf1b6889bf65a5 (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.3 2012/01/16 21:02:20 sbd Exp $

--- configure.orig	2002-01-15 15:03:18.000000000 +0000
+++ configure
@@ -606,7 +606,7 @@ NONE)
   esac ;;
 esac
 
-target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias`
+target=`${CONFIG_SHELL-/bin/sh} $ac_config_sub $target_alias | sed 's/-gnu//'`
 target_cpu=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\1/'`
 target_vendor=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\2/'`
 target_os=`echo $target | sed 's/^\([^-]*\)-\([^-]*\)-\(.*\)$/\3/'`
@@ -887,7 +887,7 @@ else
 fi
 
 
-gapdir=`pwd`
+gapdir=${PREFIX}/lib/gap4.3
 mkdir -p bin
 trap '' 1 2 15
 cat > confcache <<\EOF