summaryrefslogtreecommitdiff
path: root/sysutils/amanda-common/Makefile.common
diff options
context:
space:
mode:
authorkim <kim@pkgsrc.org>2004-11-20 23:09:48 +0000
committerkim <kim@pkgsrc.org>2004-11-20 23:09:48 +0000
commitf22d973c2f76aaf1a9b0e60b8961a188c7598261 (patch)
tree9e708058489f7c434bab5ffcfe13d105c84a6958 /sysutils/amanda-common/Makefile.common
parent72ba6b087156d1e5a5c5bb0ac1ffb010cfb95b20 (diff)
downloadpkgsrc-f22d973c2f76aaf1a9b0e60b8961a188c7598261.tar.gz
Add AMANDA_TMP
Diffstat (limited to 'sysutils/amanda-common/Makefile.common')
-rw-r--r--sysutils/amanda-common/Makefile.common7
1 files changed, 5 insertions, 2 deletions
diff --git a/sysutils/amanda-common/Makefile.common b/sysutils/amanda-common/Makefile.common
index 93b045ad5db..643cfc22f97 100644
--- a/sysutils/amanda-common/Makefile.common
+++ b/sysutils/amanda-common/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.13 2004/11/12 12:13:44 mjl Exp $
+# $NetBSD: Makefile.common,v 1.14 2004/11/20 23:10:32 kim Exp $
#
# common make file fragment shared by all amanda-* pkgs.
#
@@ -19,9 +19,11 @@ AMANDA_GROUP?= operator
.endif
AMANDA_USER?= backup
+AMANDA_TMP?= /tmp/amanda
AMANDA_VAR?= /var/amanda
-BUILD_DEFS+= AMANDA_USER AMANDA_GROUP AMANDA_SMB AMANDA_VAR
+BUILD_DEFS+= AMANDA_USER AMANDA_GROUP AMANDA_SMB
+BUILD_DEFS+= AMANDA_TMP AMANDA_VAR
USE_LIBTOOL= yes
LTCONFIG_OVERRIDE= ${WRKSRC}/config/ltconfig
@@ -32,6 +34,7 @@ CONFIGURE_ARGS+= --with-group=${AMANDA_GROUP}
CONFIGURE_ARGS+= --with-owner=root
CONFIGURE_ARGS+= --with-mmap
CONFIGURE_ARGS+= --with-amandahosts
+CONFIGURE_ARGS+= --with-tmpdir=${AMANDA_TMP}
CONFIGURE_ARGS+= --localstatedir=${AMANDA_VAR}
CONFIGURE_ARGS+= --with-gnutar-listdir=${AMANDA_VAR}/gnutar-lists
CONFIGURE_ARGS+= --with-dump-honor-nodump