pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/archivers/upx Ignore inconsistent indentation with clang
details: https://anonhg.NetBSD.org/pkgsrc/rev/7eb606dc362d
branches: trunk
changeset: 427663:7eb606dc362d
user: joerg <joerg%pkgsrc.org@localhost>
date: Sat Apr 18 22:02:28 2020 +0000
description:
Ignore inconsistent indentation with clang
diffstat:
archivers/upx/Makefile | 8 +++++++-
1 files changed, 7 insertions(+), 1 deletions(-)
diffs (22 lines):
diff -r 5a02cb47c305 -r 7eb606dc362d archivers/upx/Makefile
--- a/archivers/upx/Makefile Sat Apr 18 22:01:56 2020 +0000
+++ b/archivers/upx/Makefile Sat Apr 18 22:02:28 2020 +0000
@@ -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 @@
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
Home |
Main Index |
Thread Index |
Old Index