Index: gap-4r7p2/configure
===================================================================
--- gap-4r7p2.orig/configure	2013-12-01 10:17:14.000000000 +0100
+++ gap-4r7p2/configure	2013-12-16 13:13:15.365102760 +0100
@@ -4094,7 +4094,7 @@
 fi
 
 
-gapdir=`pwd`
+gapdir=/usr/share/gap
 
 
 
Index: gap-4r7p2/configure.in
===================================================================
--- gap-4r7p2.orig/configure.in	2013-12-01 10:17:14.000000000 +0100
+++ gap-4r7p2/configure.in	2013-12-16 13:13:15.365102760 +0100
@@ -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 
