pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/devel/opencm On NetBSD, use statvfs only when sys/stat...
details: https://anonhg.NetBSD.org/pkgsrc/rev/2e960d6b1093
branches: trunk
changeset: 485485:2e960d6b1093
user: minskim <minskim%pkgsrc.org@localhost>
date: Mon Dec 13 21:14:12 2004 +0000
description:
On NetBSD, use statvfs only when sys/statvfs.h is available. This
makes the package build on NetBSD-2.0 and -1.6 again. OK'ed by jmmv@.
diffstat:
devel/opencm/distinfo | 4 ++--
devel/opencm/patches/patch-ae | 26 ++++++++++++++++++++------
2 files changed, 22 insertions(+), 8 deletions(-)
diffs (61 lines):
diff -r 891907285170 -r 2e960d6b1093 devel/opencm/distinfo
--- a/devel/opencm/distinfo Mon Dec 13 16:35:27 2004 +0000
+++ b/devel/opencm/distinfo Mon Dec 13 21:14:12 2004 +0000
@@ -1,4 +1,4 @@
-$NetBSD: distinfo,v 1.12 2004/12/04 23:37:14 jmmv Exp $
+$NetBSD: distinfo,v 1.13 2004/12/13 21:14:12 minskim Exp $
SHA1 (opencm-0.1.2alpha8-2-src.tgz) = 2befad488fd7b73f961f7f6a771acdcee921a20d
Size (opencm-0.1.2alpha8-2-src.tgz) = 1577512 bytes
@@ -6,6 +6,6 @@
SHA1 (patch-ab) = 63df5eecf9daedaf0250b4f34f6d48d93a229bfc
SHA1 (patch-ac) = 9f94b2208f73fdb73fe71356382ae788552214e7
SHA1 (patch-ad) = 24efb352d728333a9fbd4d92cde35a478afaed0e
-SHA1 (patch-ae) = 046b1fcaaf04bb1f13bc7387e95cfeebca3f58fe
+SHA1 (patch-ae) = 5fc0ca228f046e745447684128f4de4c94dde71d
SHA1 (patch-af) = 63194a7f9530ccf3ac7f0d91b94d717295c61f0b
SHA1 (patch-ag) = 603fddc1fb526e70fc194280c387084270d62180
diff -r 891907285170 -r 2e960d6b1093 devel/opencm/patches/patch-ae
--- a/devel/opencm/patches/patch-ae Mon Dec 13 16:35:27 2004 +0000
+++ b/devel/opencm/patches/patch-ae Mon Dec 13 21:14:12 2004 +0000
@@ -1,6 +1,6 @@
-$NetBSD: patch-ae,v 1.5 2004/12/04 23:37:14 jmmv Exp $
+$NetBSD: patch-ae,v 1.6 2004/12/13 21:14:12 minskim Exp $
---- configure.orig 2004-10-25 03:09:36.000000000 +0200
+--- configure.orig 2004-10-24 20:09:36.000000000 -0500
+++ configure
@@ -4928,7 +4928,7 @@ else
if test ! -d "$dir" ; then
@@ -11,13 +11,27 @@
vl_cv_lib_kerberos="$dir"
break;
fi
-@@ -5017,7 +5017,8 @@ if test -z "$DEFAULT_EDITOR"; then
+@@ -5017,12 +5017,20 @@ if test -z "$DEFAULT_EDITOR"; then
DEFAULT_EDITOR="vi"
fi
-case $host_os in solaris*|irix*)
+-
+-cat >>confdefs.h <<\_ACEOF
+case $host_os in
-+*)
++solaris*|irix*)
++ cat >>confdefs.h <<\_ACEOF
+ #define HAVE_SVR4_STATVFS 1
+ _ACEOF
++ ;;
- cat >>confdefs.h <<\_ACEOF
- #define HAVE_SVR4_STATVFS 1
++netbsd*)
++ if [ -f /usr/include/sys/statvfs.h ]; then
++ cat >>confdefs.h <<\_ACEOF
++#define HAVE_SVR4_STATVFS 1
++_ACEOF
++ fi
++ ;;
+ esac
+
+
Home |
Main Index |
Thread Index |
Old Index