summaryrefslogtreecommitdiff
path: root/sysutils
diff options
context:
space:
mode:
authorjschauma <jschauma@pkgsrc.org>2003-02-16 19:19:55 +0000
committerjschauma <jschauma@pkgsrc.org>2003-02-16 19:19:55 +0000
commit4f71591a1a1aea1d9d5b7f1d931f91a291b8c961 (patch)
tree23ef71211b50a8f7f831a18773ce6ec9b6cc4d6a /sysutils
parentf25453ed1b24a72adf8548b9c6bfe0c999374094 (diff)
downloadpkgsrc-4f71591a1a1aea1d9d5b7f1d931f91a291b8c961.tar.gz
When on Linux, don't disable fsck.
Thus, rename PLIST to PLIST.common and add PLIST.Linux. Changes suggested by Jeremy C. Reed (reed at reedmedia dot net) in PR pkg/19477. Thanks and sorry for the delay.
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/e2fsprogs/Makefile7
-rw-r--r--sysutils/e2fsprogs/PLIST.Linux2
-rw-r--r--sysutils/e2fsprogs/PLIST.common (renamed from sysutils/e2fsprogs/PLIST)2
3 files changed, 9 insertions, 2 deletions
diff --git a/sysutils/e2fsprogs/Makefile b/sysutils/e2fsprogs/Makefile
index 84160e95867..34089a8da19 100644
--- a/sysutils/e2fsprogs/Makefile
+++ b/sysutils/e2fsprogs/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.3 2001/02/17 17:42:12 wiz Exp $
+# $NetBSD: Makefile,v 1.4 2003/02/16 19:19:55 jschauma Exp $
#
DISTNAME= e2fsprogs-1.19
@@ -13,6 +13,11 @@ HOMEPAGE= http://web.mit.edu/tytso/www/linux/e2fsprogs.html
COMMENT= Second extended file system (ext2fs) management programs
GNU_CONFIGURE= yes
+
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} != "Linux"
CONFIGURE_ARGS+=--disable-fsck
+.endif
.include "../../mk/bsd.pkg.mk"
diff --git a/sysutils/e2fsprogs/PLIST.Linux b/sysutils/e2fsprogs/PLIST.Linux
new file mode 100644
index 00000000000..a12dd5c5502
--- /dev/null
+++ b/sysutils/e2fsprogs/PLIST.Linux
@@ -0,0 +1,2 @@
+sbin/fsck
+man/man8/fsck.8
diff --git a/sysutils/e2fsprogs/PLIST b/sysutils/e2fsprogs/PLIST.common
index 8a765ff2291..5afc4cc6257 100644
--- a/sysutils/e2fsprogs/PLIST
+++ b/sysutils/e2fsprogs/PLIST.common
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.1 2001/10/31 22:53:04 zuntum Exp $
+@comment $NetBSD: PLIST.common,v 1.1 2003/02/16 19:19:56 jschauma Exp $
bin/chattr
bin/lsattr
bin/uuidgen