summaryrefslogtreecommitdiff
path: root/archivers
diff options
context:
space:
mode:
authorjoerg <joerg@pkgsrc.org>2020-04-18 22:02:28 +0000
committerjoerg <joerg@pkgsrc.org>2020-04-18 22:02:28 +0000
commit68a2c4471b42c18c2e782a7daa0e5dd230382a11 (patch)
tree22d83e52156b7696ec98cdd2fe8bccdc78d07107 /archivers
parent0a56a9e0b0a50c030ae8afeb22938e635e84ded6 (diff)
downloadpkgsrc-68a2c4471b42c18c2e782a7daa0e5dd230382a11.tar.gz
Ignore inconsistent indentation with clang
Diffstat (limited to 'archivers')
-rw-r--r--archivers/upx/Makefile8
1 files changed, 7 insertions, 1 deletions
diff --git a/archivers/upx/Makefile b/archivers/upx/Makefile
index b5c8de0b541..d1f3e57616e 100644
--- a/archivers/upx/Makefile
+++ b/archivers/upx/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.32 2020/03/10 12:22:04 tnn Exp $
+# $NetBSD: Makefile,v 1.33 2020/04/18 22:02:28 joerg Exp $
DISTNAME= upx-3.96
CATEGORIES= archivers
@@ -24,6 +24,12 @@ INSTALLATION_DIRS= bin ${PKGMANDIR}/man1 share/doc/upx
BUILDLINK_TRANSFORM+= rm:-mcpu=i686
BUILDLINK_TRANSFORM.SunOS+= rm:-Wl,-Map rm:-Wl,upx.map
+.include "../../mk/compiler.mk"
+.if !empty(PKGSRC_COMPILER:Mclang)
+_WRAP_EXTRA_ARGS.CXX+= -Wno-error=misleading-indentation
+CWRAPPERS_APPEND.cxx+= -Wno-error=misleading-indentation
+.endif
+
post-extract:
rmdir ${WRKSRC}/src/lzma-sdk
ln -sf ${WRKDIR}/upx-lzma-sdk* ${WRKSRC}/src/lzma-sdk