pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/sysutils Use ROOT_USER instead of hardcoding root.
details: https://anonhg.NetBSD.org/pkgsrc/rev/4f8fc180aa32
branches: trunk
changeset: 486426:4f8fc180aa32
user: minskim <minskim%pkgsrc.org@localhost>
date: Tue Dec 28 08:55:31 2004 +0000
description:
Use ROOT_USER instead of hardcoding root.
diffstat:
sysutils/amanda-common/Makefile.common | 4 ++--
sysutils/coreutils/Makefile | 8 +++++++-
2 files changed, 9 insertions(+), 3 deletions(-)
diffs (40 lines):
diff -r 9bcd41ddde1f -r 4f8fc180aa32 sysutils/amanda-common/Makefile.common
--- a/sysutils/amanda-common/Makefile.common Tue Dec 28 08:02:33 2004 +0000
+++ b/sysutils/amanda-common/Makefile.common Tue Dec 28 08:55:31 2004 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.14 2004/11/20 23:10:32 kim Exp $
+# $NetBSD: Makefile.common,v 1.15 2004/12/28 09:06:42 minskim Exp $
#
# common make file fragment shared by all amanda-* pkgs.
#
@@ -31,7 +31,7 @@
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-user=${AMANDA_USER}
CONFIGURE_ARGS+= --with-group=${AMANDA_GROUP}
-CONFIGURE_ARGS+= --with-owner=root
+CONFIGURE_ARGS+= --with-owner=${ROOT_USER}
CONFIGURE_ARGS+= --with-mmap
CONFIGURE_ARGS+= --with-amandahosts
CONFIGURE_ARGS+= --with-tmpdir=${AMANDA_TMP}
diff -r 9bcd41ddde1f -r 4f8fc180aa32 sysutils/coreutils/Makefile
--- a/sysutils/coreutils/Makefile Tue Dec 28 08:02:33 2004 +0000
+++ b/sysutils/coreutils/Makefile Tue Dec 28 08:55:31 2004 +0000
@@ -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 @@
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}
Home |
Main Index |
Thread Index |
Old Index