From 8da881d9dcd2bcf0391bf64bfdcbaecb1500e0a5 Mon Sep 17 00:00:00 2001 From: "James E. Housley" Date: Tue, 17 Sep 2002 11:45:59 +0000 Subject: Currently the gnutar-listdir is defaulting to /usr/local/var/amanda/gnutar-listdir, which is ugly and just plain wrong! This allows the user to select it via AMANDA_GNUTAR_LISTDIR at compile time. There is no PORTREVISION bump, because there is no change unless this is specified. Submitted by: Josef Karthauser --- misc/amanda26-server/Makefile | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'misc/amanda26-server') diff --git a/misc/amanda26-server/Makefile b/misc/amanda26-server/Makefile index 3b07f3a14120..2b0852c3b031 100644 --- a/misc/amanda26-server/Makefile +++ b/misc/amanda26-server/Makefile @@ -119,6 +119,9 @@ pre-fetch: @${ECHO} " The default is `uname -n`" @${ECHO} " AMANDA_CONFIG=config to specify the default configuation" @${ECHO} " The default is user" + @${ECHO} " AMANDA_GNUTAR_LISTDIR=dir to specify the directory that" + @${ECHO} " the gnutar index files should live in" + @${ECHO} " The default is /var/amanda/gnutar-lists" @${ECHO} "" CONFIGURE_ARGS= --libexecdir=${PREFIX}/libexec/amanda \ @@ -152,6 +155,10 @@ CONFIGURE_ARGS+= --with-tape-server=${AMANDA_SERVER} CONFIGURE_ARGS+= --with-config=${AMANDA_CONFIG} .endif +.if defined (AMANDA_GNUTAR_LISTDIR) +CONFIGURE_ARGS+= --with-gnutar-listdir=${AMANDA_GNUTAR_LISTDIR} +.endif + .endif .include -- cgit v1.2.3