Index: gap-4r6p4~pre2/configure
===================================================================
--- gap-4r6p4~pre2.orig/configure	2013-06-25 16:52:34.000000000 +0200
+++ gap-4r6p4~pre2/configure	2013-06-25 16:52:43.000000000 +0200
@@ -4073,7 +4073,7 @@
 fi
 
 
-gapdir=`pwd`
+gapdir=/usr/share/gap
 
 
 
Index: gap-4r6p4~pre2/configure.in
===================================================================
--- gap-4r6p4~pre2.orig/configure.in	2013-06-25 16:54:11.000000000 +0200
+++ gap-4r6p4~pre2/configure.in	2013-06-25 16:54:23.000000000 +0200
@@ -52,7 +52,7 @@
 AC_SUBST(BASECC)
 AC_PROG_MAKE_SET
 AC_SUBST(gapdir)
-gapdir=`pwd`
+gapdir=/usr/share/gap
 
 AC_ARG_VAR(CONFIGNAME,[Supply a (meaningful) name for the configuration you are building.
     This name will be appended to the architecture-dependent named 
