summaryrefslogtreecommitdiff
path: root/sysutils/coreutils
diff options
context:
space:
mode:
authorminskim <minskim@pkgsrc.org>2004-12-28 08:55:31 +0000
committerminskim <minskim@pkgsrc.org>2004-12-28 08:55:31 +0000
commit54f55b798897625f5e08ea6d5fd410b4524d3adb (patch)
tree27d05975e26bf94a2ee6c708c583450d8376735c /sysutils/coreutils
parentaf0815cad22fd2bbd07ada708b644e9e6e8e8ea7 (diff)
downloadpkgsrc-54f55b798897625f5e08ea6d5fd410b4524d3adb.tar.gz
Use ROOT_USER instead of hardcoding root.
Diffstat (limited to 'sysutils/coreutils')
-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}