pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/archivers/upx



Module Name:    pkgsrc
Committed By:   joerg
Date:           Sat Apr 18 22:02:28 UTC 2020

Modified Files:
        pkgsrc/archivers/upx: Makefile

Log Message:
Ignore inconsistent indentation with clang


To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 pkgsrc/archivers/upx/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/archivers/upx/Makefile
diff -u pkgsrc/archivers/upx/Makefile:1.32 pkgsrc/archivers/upx/Makefile:1.33
--- pkgsrc/archivers/upx/Makefile:1.32  Tue Mar 10 12:22:04 2020
+++ pkgsrc/archivers/upx/Makefile       Sat Apr 18 22:02:28 2020
@@ -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
 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