diff options
author | agc <agc@pkgsrc.org> | 1999-04-21 15:31:05 +0000 |
---|---|---|
committer | agc <agc@pkgsrc.org> | 1999-04-21 15:31:05 +0000 |
commit | 332ac001479d1d21e7426dab11e2eebbde28d605 (patch) | |
tree | 9cc31234b80cbc6062c6807d389e461e2b6de235 /sysutils | |
parent | 0cc1018e6ba7a8995e0cfc36b2418ba6690f5e24 (diff) | |
download | pkgsrc-332ac001479d1d21e7426dab11e2eebbde28d605.tar.gz |
Fix for Solaris.
Diffstat (limited to 'sysutils')
-rw-r--r-- | sysutils/amanda-client/Makefile | 10 | ||||
-rw-r--r-- | sysutils/amanda-server/Makefile | 10 |
2 files changed, 16 insertions, 4 deletions
diff --git a/sysutils/amanda-client/Makefile b/sysutils/amanda-client/Makefile index 425f80698e8..f985fc4f024 100644 --- a/sysutils/amanda-client/Makefile +++ b/sysutils/amanda-client/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 1999/04/04 23:34:45 tron Exp $ +# $NetBSD: Makefile,v 1.5 1999/04/21 15:31:05 agc Exp $ # FreeBSD Id: Makefile,v 1.9 1997/03/08 05:00:11 gpalmer Exp # @@ -18,8 +18,14 @@ USE_LIBTOOL= yes GNU_CONFIGURE= yes .include "../../mk/bsd.prefs.mk" -AMANDA_USER?= backup + +.if ${OPSYS} == "NetBSD" AMANDA_GROUP= operator +.elif ${OPSYS} == "SunOS" +AMANDA_GROUP= sysadmin +.endif + +AMANDA_USER?= backup AMANDA_VAR?= /var/amanda CONFIGURE_ARGS+= --with-user=${AMANDA_USER} \ diff --git a/sysutils/amanda-server/Makefile b/sysutils/amanda-server/Makefile index 05ab1093217..eae5abb4967 100644 --- a/sysutils/amanda-server/Makefile +++ b/sysutils/amanda-server/Makefile @@ -1,4 +1,4 @@ -# $NetBSD: Makefile,v 1.4 1999/04/13 15:31:07 agc Exp $ +# $NetBSD: Makefile,v 1.5 1999/04/21 15:32:06 agc Exp $ # FreeBSD Id: Makefile,v 1.9 1997/03/08 05:00:11 gpalmer Exp # @@ -16,8 +16,14 @@ DEPENDS+= amanda-common-2.4.1p1:../amanda-common USE_PERL5= yes .include "../../mk/bsd.prefs.mk" -AMANDA_USER?= backup + +.if ${OPSYS} == "NetBSD" AMANDA_GROUP= operator +.elif ${OPSYS} == "SunOS" +AMANDA_GROUP= sysadmin +.endif + +AMANDA_USER?= backup AMANDA_VAR?= /var/amanda USE_LIBTOOL= yes |