openbsd-ports/sysutils/lsof/patches/patch-Configure

38 lines
1.1 KiB
Plaintext

$OpenBSD: patch-Configure,v 1.22 2007/08/04 22:44:43 pvalchev Exp $
--- Configure.orig Mon Apr 10 06:44:22 2006
+++ Configure Sat Aug 4 16:44:09 2007
@@ -3381,6 +3381,24 @@ return(0); }
echo "!!!WARNING!!! Unsupported OpenBSD 3.x version: $LSOF_VSTR"
echo "!!!WARNING!!! Configuring for OpenBSD 3.9"
;;
+ 4.0*)
+ LSOF_TSTBIGF=" "
+ LSOF_VERS=4000
+ ;;
+ 4.1*)
+ LSOF_TSTBIGF=" "
+ LSOF_VERS=4010
+ ;;
+ 4.2*)
+ LSOF_TSTBIGF=" "
+ LSOF_VERS=4020
+ ;;
+ 4*)
+ LSOF_TSTBIGF=" "
+ LSOF_VERS=4010
+ echo "!!!WARNING!!! Unsupported OpenBSD 4.x version: $LSOF_VSTR"
+ echo "!!!WARNING!!! Configuring for OpenBSD 4.1"
+ ;;
*)
echo "Unknown OpenBSD release: $LSOF_VSTR"
echo Assuming OpenBSD 3.9
@@ -3392,7 +3410,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)
;;
*)
echo "Unknown OpenBSD version: $LSOF_VERS"