pkgsrc/sysutils/smartmontools/patches/patch-ag

30 lines
671 B
Text

$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=