summaryrefslogtreecommitdiff
path: root/sysutils/amanda-client
diff options
context:
space:
mode:
authorbad <bad@pkgsrc.org>1999-09-06 19:30:19 +0000
committerbad <bad@pkgsrc.org>1999-09-06 19:30:19 +0000
commit3f20add20cfb888be4e4f8331fd0a9656462988d (patch)
tree0f00e90f59e6e45cc6e961d3d74bffc70c207f75 /sysutils/amanda-client
parentdbd92defc536de9e1534a5a14cf71ca5b90c9d98 (diff)
downloadpkgsrc-3f20add20cfb888be4e4f8331fd0a9656462988d.tar.gz
Split out the common code in the amanda make files into
amanda-common/Makefile.common.
Diffstat (limited to 'sysutils/amanda-client')
-rw-r--r--sysutils/amanda-client/Makefile23
1 files changed, 3 insertions, 20 deletions
diff --git a/sysutils/amanda-client/Makefile b/sysutils/amanda-client/Makefile
index fc1d35befe4..fe91e30e7b9 100644
--- a/sysutils/amanda-client/Makefile
+++ b/sysutils/amanda-client/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.10 1999/09/04 01:08:53 bad Exp $
+# $NetBSD: Makefile,v 1.11 1999/09/06 19:30:19 bad Exp $
# FreeBSD Id: Makefile,v 1.9 1997/03/08 05:00:11 gpalmer Exp
#
@@ -18,26 +18,9 @@ USE_LIBTOOL= yes
GNU_CONFIGURE= yes
.include "../../mk/bsd.prefs.mk"
+.include "../../sysutils/amanda-common/Makefile.common"
-.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} \
- --with-group=${AMANDA_GROUP} \
- --with-owner=root \
- --with-mmap --with-amandahosts \
- --with-includes=${PREFIX}/include \
- --with-libraries=${PREFIX}/lib \
- --localstatedir=${AMANDA_VAR} \
- --with-gnutar-listdir=${AMANDA_VAR}/gnutar-lists \
- --with-dump-honor-nodump \
- --without-server --without-restore
+CONFIGURE_ARGS+= --without-server --without-restore
BUILD_DEFS+= AMANDA_USER AMANDA_SMB AMANDA_VAR