summaryrefslogtreecommitdiff
path: root/net/libpcap/patches/patch-configure
blob: 8825d19cbdcfdc7c4cbc12d3704069d4d40d909f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
$NetBSD: patch-configure,v 1.7 2019/10/14 20:10:19 triaxx Exp $

Ensure consistent manpage locations.
Correctly detect Mac OS X Leopard.

--- configure.orig	2019-09-30 16:08:23.000000000 +0000
+++ configure
@@ -8178,10 +8178,6 @@ fi
 # and daemons in section 8).  Individual cases can override this.
 #
 DYEXT="none"
-MAN_DEVICES=4
-MAN_FILE_FORMATS=5
-MAN_MISC_INFO=7
-MAN_ADMIN_COMMANDS=8
 case "$host_os" in
 
 aix*)
@@ -8300,7 +8296,7 @@ fi
 			V_PROG_LDFLAGS_FAT="-arch ppc -arch ppc64 -arch i386 -arch x86_64"
 			;;
 
-		darwin9.*)
+		darwin9*)
 			#
 			# Leopard.  Build libraries for 32-bit PowerPC,
 			# 64-bit PowerPC, 32-bit x86, and x86-64, with
@@ -8567,6 +8563,10 @@ $as_echo "#define HAVE_SOLARIS 1" >>conf
 	;;
 esac
 
+MAN_FILE_FORMATS=5
+MAN_MISC_INFO=7
+MAN_ADMIN_COMMANDS=8
+
 # Check whether --enable-shared was given.
 if test "${enable_shared+set}" = set; then :
   enableval=$enable_shared;