summaryrefslogtreecommitdiff
path: root/sysutils/coreutils/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/coreutils/Makefile')
-rw-r--r--sysutils/coreutils/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/sysutils/coreutils/Makefile b/sysutils/coreutils/Makefile
index 81551ad9e80..59720961c3c 100644
--- a/sysutils/coreutils/Makefile
+++ b/sysutils/coreutils/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.22 2004/12/06 16:00:57 adam Exp $
+# $NetBSD: Makefile,v 1.23 2004/12/28 08:55:31 minskim Exp $
DISTNAME= coreutils-5.2.1
PKGREVISION= 1
@@ -23,6 +23,12 @@ INFO_FILES= coreutils.info
TEST_TARGET= check
+SUBST_CLASSES+= root
+SUBST_MESSAGE.root= "Fixing hardcoded root."
+SUBST_STAGE.root= post-patch
+SUBST_FILES.root= src/Makefile.in
+SUBST_SED.root= -e 's, root , ${ROOT_USER} ,g'
+
.include "../../mk/bsd.prefs.mk"
CONFIGURE_ARGS= --program-prefix=${GNU_PROGRAM_PREFIX}