pkgsrc/math/gap/patches/patch-aa

22 lines
654 B
Text

$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