From f11d754ff157c50cee1a3f91f39c2803134c5360 Mon Sep 17 00:00:00 2001 From: tez Date: Wed, 15 Dec 2010 20:37:38 +0000 Subject: Fix bug with --one-file-system --listed-incremental (used by amanda) per: http://www.mail-archive.com/bug-tar@gnu.org/msg03019.html Pass FORCE_UNSAFE_CONFIGURE=1 in the configure env to allow building of this package as root. --- archivers/gtar-base/Makefile | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'archivers/gtar-base/Makefile') diff --git a/archivers/gtar-base/Makefile b/archivers/gtar-base/Makefile index c28ce34a830..1b92bbe7578 100644 --- a/archivers/gtar-base/Makefile +++ b/archivers/gtar-base/Makefile @@ -1,7 +1,8 @@ -# $NetBSD: Makefile,v 1.66 2010/12/12 13:10:39 wiz Exp $ +# $NetBSD: Makefile,v 1.67 2010/12/15 20:37:38 tez Exp $ DISTNAME= tar-1.25 PKGNAME= gtar-base-1.25 +PKGREVISION= 1 SVR4_PKGNAME= gtarb CATEGORIES= archivers MASTER_SITES= ${MASTER_SITE_GNU:=tar/} @@ -40,6 +41,9 @@ CONFIGURE_ARGS+= --program-prefix=${GTAR_PROGRAM_PREFIX:Q} # lie to configure about gettext -- it does not need GNU gettext CONFIGURE_ENV+= gt_cv_func_gnugettext2_libintl=yes +# allow configure to run as root +CONFIGURE_ENV+= FORCE_UNSAFE_CONFIGURE=1 + PLIST_SUBST+= GTAR_PROGRAM_PREFIX=${GTAR_PROGRAM_PREFIX:Q} BUILD_DEFS+= GNU_PROGRAM_PREFIX BUILD_DEFS+= GTAR_PROGRAM_PREFIX -- cgit v1.2.3