summaryrefslogtreecommitdiff
path: root/sysutils/amanda-common/Makefile.common
diff options
context:
space:
mode:
Diffstat (limited to 'sysutils/amanda-common/Makefile.common')
-rw-r--r--sysutils/amanda-common/Makefile.common7
1 files changed, 6 insertions, 1 deletions
diff --git a/sysutils/amanda-common/Makefile.common b/sysutils/amanda-common/Makefile.common
index 4a2a594a298..b67aa632eaf 100644
--- a/sysutils/amanda-common/Makefile.common
+++ b/sysutils/amanda-common/Makefile.common
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile.common,v 1.16 2004/12/28 09:10:50 minskim Exp $
+# $NetBSD: Makefile.common,v 1.17 2005/08/02 09:26:06 seb Exp $
#
# common make file fragment shared by all amanda-* pkgs.
#
@@ -28,6 +28,11 @@ BUILD_DEFS+= AMANDA_TMP AMANDA_VAR
USE_LIBTOOL= yes
LTCONFIG_OVERRIDE= ${WRKSRC}/config/ltconfig
+USE_TOOLS+= gzip:run gtar:run
+CONFIGURE_ENV+= ac_cv_path_GZIP=${TOOLS_GZIP_CMD}
+CONFIGURE_ENV+= GNUTAR=${TOOLS_GTAR}
+TOOLS_DEPENDS.gtar= {gtar,gtar-base}>=1.12:../../archivers/gtar-base
+
GNU_CONFIGURE= yes
CONFIGURE_ARGS+= --with-user=${AMANDA_USER}
CONFIGURE_ARGS+= --with-group=${AMANDA_GROUP}