openbsd-ports/sysutils/lsof/patches/patch-Configure
2010-01-28 11:30:39 +00:00

81 lines
1.8 KiB
Plaintext

$OpenBSD: patch-Configure,v 1.27 2010/01/28 11:30:39 okan Exp $
--- Configure.orig Wed Mar 25 15:24:01 2009
+++ Configure Wed Jan 27 17:52:50 2010
@@ -3694,12 +3694,6 @@ return(0); }
LSOF_TSTBIGF=" "
LSOF_VERS=2090
;;
- 2*)
- LSOF_TSTBIGF=" "
- LSOF_VERS=2090
- echo "!!!WARNING!!! Unsupported OpenBSD 2.x version: $LSOF_VSTR"
- echo "!!!WARNING!!! Configuring for OpenBSD 2.9"
- ;;
3.0*)
LSOF_TSTBIGF=" "
LSOF_VERS=3000
@@ -3740,16 +3734,48 @@ return(0); }
LSOF_TSTBIGF=" "
LSOF_VERS=3090
;;
- 3*)
+ 4.0*)
LSOF_TSTBIGF=" "
- LSOF_VERS=3090
- echo "!!!WARNING!!! Unsupported OpenBSD 3.x version: $LSOF_VSTR"
- echo "!!!WARNING!!! Configuring for OpenBSD 3.9"
+ LSOF_VERS=4000
;;
+ 4.1*)
+ LSOF_TSTBIGF=" "
+ LSOF_VERS=4010
+ ;;
+ 4.2*)
+ LSOF_TSTBIGF=" "
+ LSOF_VERS=4020
+ ;;
+ 4.3*)
+ LSOF_TSTBIGF=" "
+ LSOF_VERS=4030
+ ;;
+ 4.4*)
+ LSOF_TSTBIGF=" "
+ LSOF_VERS=4040
+ ;;
+ 4.5*)
+ LSOF_TSTBIGF=" "
+ LSOF_VERS=4050
+ ;;
+ 4.6*)
+ LSOF_TSTBIGF=" "
+ LSOF_VERS=4060
+ ;;
+ 4.7*)
+ LSOF_TSTBIGF=" "
+ LSOF_VERS=4070
+ ;;
+ 4*)
+ LSOF_TSTBIGF=" "
+ LSOF_VERS=4070
+ echo "!!!WARNING!!! Unsupported OpenBSD 4.x version: $LSOF_VSTR"
+ echo "!!!WARNING!!! Configuring for OpenBSD 4.7"
+ ;;
*)
echo "Unknown OpenBSD release: $LSOF_VSTR"
- echo Assuming OpenBSD 3.9
- LSOF_VERS=3090
+ echo Assuming OpenBSD 4.7
+ LSOF_VERS=4070
;;
esac # }
fi # }
@@ -3757,7 +3783,7 @@ return(0); }
# Test for legal OpenBSD version.
case $LSOF_VERS in # {
- 1020|2050|2060|2070|2080|2090|3000|3010|3020|3030|3040|3050|3060|3070|3080|3090)
+ 1020|2050|2060|2070|2080|2090|3000|3010|3020|3030|3040|3050|3060|3070|3080|3090|4000|4010|4020|4030|4040|4050|4060|4070)
;;
*)
echo "Unknown OpenBSD version: $LSOF_VERS"