summaryrefslogtreecommitdiff
path: root/sysutils/smartmontools/patches/patch-ag
blob: 3a81e461609b840487eaf4571640c09b9d2b43bd (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
$NetBSD: patch-ag,v 1.2 2010/10/25 22:58:56 shattered Exp $

Match pkgsrc's --host=i386-sun-solaris2, too.
Avoid special man page section handling for Solaris (PR 38199).

--- configure.orig	2008-03-10 10:44:14.000000000 +0000
+++ configure
@@ -8067,7 +8067,7 @@ _ACEOF
 
 		os_libs=''
  ;;
-	*-pc-solaris*)
+	*-*-solaris*)
 
 cat >>confdefs.h <<_ACEOF
 #define DEFAULT_MAILER "mailx"
@@ -8141,13 +8141,8 @@ else
   OS_DARWIN_FALSE=
 fi
 
- if echo $host_os | grep '^solaris' > /dev/null; then
-  OS_SOLARIS_TRUE=
-  OS_SOLARIS_FALSE='#'
-else
   OS_SOLARIS_TRUE='#'
   OS_SOLARIS_FALSE=
-fi
 
  if echo $host_os | grep '^mingw' > /dev/null; then
   OS_WIN32_MINGW_TRUE=