17 lines
504 B
Text
17 lines
504 B
Text
$NetBSD: patch-ab,v 1.1 2005/08/25 09:48:36 dmcmahill Exp $
|
|
|
|
make this a bit more portable
|
|
|
|
--- configure.orig 2004-10-19 15:06:57.000000000 -0400
|
|
+++ configure 2005-03-08 15:21:34.913244000 -0500
|
|
@@ -5,7 +5,8 @@
|
|
if [ ! -f configure ]; then
|
|
# --scrdir build
|
|
- srcdir=$(cd $(dirname $0) && pwd)
|
|
+ d=`dirname $0`
|
|
+ srcdir=`cd $d && pwd`
|
|
cat > GNUmakefile <<EOF
|
|
-builddir=$(pwd)
|
|
+builddir=`pwd`
|
|
srcdir=$srcdir
|
|
export SRCMAKE=\$(MAKE) -C \$(srcdir) -f GNUmakefile builddir=\$(builddir)
|