From a56d67559b7227d8c1c39ed4386e1c91b0d17432 Mon Sep 17 00:00:00 2001 From: minskim Date: Tue, 28 Dec 2004 08:55:31 +0000 Subject: Use ROOT_USER instead of hardcoding root. --- sysutils/coreutils/Makefile | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'sysutils/coreutils/Makefile') 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} -- cgit v1.2.3