summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
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"