openbsd-ports/lang/clisp/patches/patch-configure
2010-01-07 10:55:28 +00:00

32 lines
1.4 KiB
Plaintext

$OpenBSD: patch-configure,v 1.3 2010/01/07 10:55:28 edd Exp $
--- configure.orig Thu Jan 15 08:37:34 2009
+++ configure Wed Dec 30 01:35:49 2009
@@ -389,7 +389,7 @@ do
passnext=both ;;
--elispdir=* | --elispdi=* | --elispd=* | --elisp=* | --elis=* | --eli=* | --el=*)
- subdir_configure_args="$subdir_configure_args $arg"
+ subdir_configure_args="$subdir_configure_args"
makemake_args="$makemake_args --elispdir="`getarg "$arg"` ;;
--elispdir | --elispdi | --elispd | --elisp | --elis | --eli | --el)
@@ -399,7 +399,7 @@ do
passnext=both ;;
--vimdir=* | --vimdi=* | --vimd=* | --vim=* | --vi=*)
- subdir_configure_args="$subdir_configure_args $arg"
+ subdir_configure_args="$subdir_configure_args"
makemake_args="$makemake_args --vimdir="`getarg "$arg"` ;;
--vimdir | --vimdi | --vimd | --vim | --vi)
@@ -744,8 +744,7 @@ stacksizelimit=`ulimit -s 2>/dev/null || :` # cygwin /
# need 3 separate test calls because of "integer expression expected" errors
# when $stacksizelimit is "" or "unlimited" (no short-circuiting!)
set +e;
-test -z "$stacksizelimit" || { test "$stacksizelimit" != unlimited && test "$stacksizelimit" -lt ${STACK_LIMIT}; }
-STACK_TOO_SMALL=$? # 0=true => need to reset; 1=false => big enough
+STACK_TOO_SMALL=0 # 0=true => need to reset; 1=false => big enough
set -e
cd "$ABS_DIRNAME"