mirror of
https://git.freebsd.org/ports.git
synced 2025-06-01 02:46:27 -04:00
present in the source tree which, with -I. option passed to the compiler, would sometimes be picked up instead of expected `/usr/include/limits.h'. Fix this by renaming local header file with a `${PORTNAME}_' prefix; - Convert CPPFLAGS/LDFLAGS/MAKE_ENV variables to USES+=localbase; - Rewrite condition expression in standard syntax to get rid of dependency on `shells/bash', and wrap an overly long line while I'm here.
11 lines
477 B
Bash
11 lines
477 B
Bash
--- RegressionTests/RunTests.sh.orig 2009-08-05 03:09:24 UTC
|
|
+++ RegressionTests/RunTests.sh
|
|
@@ -54,7 +54,7 @@ msort -j -q -l -w -c n -Q < CheckOnlyTes
|
|
rstat2=$?
|
|
cmp -s CheckOnlyTest01B.result CheckOnlyTest01.norm
|
|
cstat2=$?
|
|
-if [[($rstat1 == 0) && ($cstat1 == 0) && ($cstat2 == 0) && ($rstat2 > 0)]];
|
|
+if [ $rstat1 -eq 0 -a $cstat1 -eq 0 -a $cstat2 -eq 0 -a $rstat2 -gt 0 ];
|
|
then echo "PASSED" >> TestResults;
|
|
else echo $'\x1b[1m\x1b[31mFAILED\x1b[0m' >> TestResults;
|
|
fi
|