summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authortron <tron@pkgsrc.org>2005-08-28 09:07:21 +0000
committertron <tron@pkgsrc.org>2005-08-28 09:07:21 +0000
commita8e8d82674389c8e1a7fbc2493ab4c2f83c6e06a (patch)
tree823e6c68f9115d55cd36cafeff8e4593112a7ee2 /sysutils
parentb6e65ebc3dc9e180fcb35420d2fb24c02aee8f20 (diff)
downloadpkgsrc-a8e8d82674389c8e1a7fbc2493ab4c2f83c6e06a.tar.gz
Change version check to figure out whether NetBSD supports the statvfs(2)
systen call. We now assumes that it only exists in NetBSD 2.99.x and newer. This will avoid build problems under the upcoming NetBSD 2.1 release. Mark this package as unusable for NetBSD-2.0[D-H]-* (a few very old NetBSD-current versions which have statvfs(2) but a version number smaller than 2.99.x).
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/coreutils/Makefile4
-rw-r--r--sysutils/coreutils/distinfo6
-rw-r--r--sysutils/coreutils/patches/patch-ab4
-rw-r--r--sysutils/coreutils/patches/patch-ac4
4 files changed, 10 insertions, 8 deletions
diff --git a/sysutils/coreutils/Makefile b/sysutils/coreutils/Makefile
index 69374ff7d65..c4d6cbe280a 100644
--- a/sysutils/coreutils/Makefile
+++ b/sysutils/coreutils/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.27 2005/07/16 01:19:20 jlam Exp $
+# $NetBSD: Makefile,v 1.28 2005/08/28 09:07:21 tron Exp $
DISTNAME= coreutils-5.2.1
PKGREVISION= 1
@@ -10,6 +10,8 @@ MAINTAINER= recht@NetBSD.org
HOMEPAGE= http://www.gnu.org/software/coreutils/
COMMENT= GNU basic file, shell and text manipulation utilities
+NOT_FOR_PLATFORM= NetBSD-2.0[D-H]-*
+
BUILD_USES_MSGFMT= YES
CONFLICTS= fileutils-* linuxls-* sh-utils-* textutils-*
diff --git a/sysutils/coreutils/distinfo b/sysutils/coreutils/distinfo
index 8bfe76d690c..439ce72c76b 100644
--- a/sysutils/coreutils/distinfo
+++ b/sysutils/coreutils/distinfo
@@ -1,11 +1,11 @@
-$NetBSD: distinfo,v 1.9 2005/03/21 14:44:08 tv Exp $
+$NetBSD: distinfo,v 1.10 2005/08/28 09:07:21 tron Exp $
SHA1 (coreutils-5.2.1.tar.bz2) = 1028755ae0fa9be840576e4837004cf5a9981c45
RMD160 (coreutils-5.2.1.tar.bz2) = a72bdb360371c026e77281ae0d543bdcce55a4e6
Size (coreutils-5.2.1.tar.bz2) = 4270776 bytes
SHA1 (patch-aa) = 36c3a4a810bdc9efd7b0c3a6dc4203e0cfcbfae5
-SHA1 (patch-ab) = 2fdd6dcccc20038afbb145d10b2988829702b285
-SHA1 (patch-ac) = 982848fe7c82a6601893eed5122de544484b4cf9
+SHA1 (patch-ab) = 630fad1a3b044b99cb8cefeb3518631e71e46db9
+SHA1 (patch-ac) = b7a527c55bba56f01f02692dc113bd912b6e7dce
SHA1 (patch-ad) = 3b61ead0225d17667d27a6a0e379d5aabc75b0df
SHA1 (patch-ae) = 1dda20cdc03336694b2c8dd42de159168de1f28d
SHA1 (patch-af) = cd7deba7a8ecdf17b39668a9d5a80323e1a02c06
diff --git a/sysutils/coreutils/patches/patch-ab b/sysutils/coreutils/patches/patch-ab
index 26602c9b314..f0807ab7b28 100644
--- a/sysutils/coreutils/patches/patch-ab
+++ b/sysutils/coreutils/patches/patch-ab
@@ -1,4 +1,4 @@
-$NetBSD: patch-ab,v 1.6 2005/03/21 14:44:08 tv Exp $
+$NetBSD: patch-ab,v 1.7 2005/08/28 09:07:21 tron Exp $
--- lib/mountlist.c.orig Mon Jan 26 03:58:12 2004
+++ lib/mountlist.c
@@ -6,7 +6,7 @@ $NetBSD: patch-ab,v 1.6 2005/03/21 14:44:08 tv Exp $
#if MOUNTED_GETMNTINFO
-+# if defined(__NetBSD__) && (__NetBSD_Version__ > 200030000)
++# if defined(__NetBSD__) && (__NetBSD_Version__ > 299000000)
+# define statfs statvfs
+# define HAVE_F_FSTYPENAME_IN_STATFS 1
+# endif
diff --git a/sysutils/coreutils/patches/patch-ac b/sysutils/coreutils/patches/patch-ac
index df423629f77..55995e7c497 100644
--- a/sysutils/coreutils/patches/patch-ac
+++ b/sysutils/coreutils/patches/patch-ac
@@ -1,4 +1,4 @@
-$NetBSD: patch-ac,v 1.5 2005/03/21 14:44:08 tv Exp $
+$NetBSD: patch-ac,v 1.6 2005/08/28 09:07:21 tron Exp $
--- src/stat.c.orig Thu Feb 5 08:46:12 2004
+++ src/stat.c
@@ -6,7 +6,7 @@ $NetBSD: patch-ac,v 1.5 2005/03/21 14:44:08 tv Exp $
# endif
#endif
-+#if (defined(__NetBSD__) && (__NetBSD_Version__ > 200030000)) || defined(__INTERIX)
++#if (defined(__NetBSD__) && (__NetBSD_Version__ > 299000000)) || defined(__INTERIX)
+#include <sys/statvfs.h>
+#define statfs statvfs
+#define STATXFS_FILE_SYSTEM_TYPE_MEMBER_NAME f_fstypename