summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorcheusov <cheusov@pkgsrc.org>2011-10-26 08:32:50 +0000
committercheusov <cheusov@pkgsrc.org>2011-10-26 08:32:50 +0000
commit10114fef310a3f1396afb881e24ab5b2f0bd292a (patch)
treeb61a7928eae725edc028de18303a20abf58965dc /archivers
parent559cf30ad00ef627c067cc14395ddc372d2360b0 (diff)
downloadpkgsrc-10114fef310a3f1396afb881e24ab5b2f0bd292a.tar.gz
Workaround for PR 45491. It fixes bootstrap if
pkg://sfe/system/file-system/e2fsprogs@1.41.14 package is installed. Approved by agc@.
Diffstat (limited to 'archivers')
-rw-r--r--archivers/libarchive/Makefile9
1 files changed, 8 insertions, 1 deletions
diff --git a/archivers/libarchive/Makefile b/archivers/libarchive/Makefile
index 0d67cb2618d..bed05e5a9fc 100644
--- a/archivers/libarchive/Makefile
+++ b/archivers/libarchive/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.33 2010/07/09 12:03:55 joerg Exp $
+# $NetBSD: Makefile,v 1.34 2011/10/26 08:32:50 cheusov Exp $
#
DISTNAME= libarchive-2.8.4
@@ -21,6 +21,13 @@ CONFIGURE_ARGS+= --disable-bsdtar --without-expat --without-xml2 \
do-extract:
${CP} -r ${FILESDIR} ${WRKSRC}
+.include "../../mk/bsd.prefs.mk"
+
+.if ${OPSYS} == SunOS
+# workaround for pkg/45491
+CONFIGURE_ENV+= ac_cv_header_ext2fs_ext2_fs_h=no
+.endif
+
.include "../../archivers/bzip2/buildlink3.mk"
.include "../../devel/zlib/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"