diff options
author | agc <agc> | 1999-04-21 15:31:05 +0000 |
---|---|---|
committer | agc <agc> | 1999-04-21 15:31:05 +0000 |
commit | c054cd30cd8ec9be993802ca2743f0f051bbbde0 (patch) | |
tree | 9cc31234b80cbc6062c6807d389e461e2b6de235 | |
parent | 7b688e93ade79ab25c5319d86c1d521be9d6371f (diff) | |
download | pkgsrc-c054cd30cd8ec9be993802ca2743f0f051bbbde0.tar.gz |
Fix for Solaris.
-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 |