summaryrefslogtreecommitdiff
path: root/archivers/gtar-base/Makefile
diff options
context:
space:
mode:
authortez <tez@pkgsrc.org>2010-12-15 20:37:38 +0000
committertez <tez@pkgsrc.org>2010-12-15 20:37:38 +0000
commitf11d754ff157c50cee1a3f91f39c2803134c5360 (patch)
tree97d866a5fa043eceec31f98e5da67cc0716d93fc /archivers/gtar-base/Makefile
parent5b1f30e57f7f6b2f3776d40dc723b8330792181c (diff)
downloadpkgsrc-f11d754ff157c50cee1a3f91f39c2803134c5360.tar.gz
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.
Diffstat (limited to 'archivers/gtar-base/Makefile')
-rw-r--r--archivers/gtar-base/Makefile6
1 files changed, 5 insertions, 1 deletions
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