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:   nia
Date:           Mon Dec  2 07:44:00 UTC 2024

Modified Files:
        pkgsrc/archivers/upx: Makefile

Log Message:
upx: Strip out -Werror, not just when using clang.

SunOS builds show this has problems elsewhere.


To generate a diff of this commit:
cvs rdiff -u -r1.36 -r1.37 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.36 pkgsrc/archivers/upx/Makefile:1.37
--- pkgsrc/archivers/upx/Makefile:1.36  Tue Jun 28 11:30:53 2022
+++ pkgsrc/archivers/upx/Makefile       Mon Dec  2 07:43:59 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.36 2022/06/28 11:30:53 wiz Exp $
+# $NetBSD: Makefile,v 1.37 2024/12/02 07:43:59 nia Exp $
 
 DISTNAME=              upx-3.96
 PKGREVISION=           3
@@ -20,17 +20,14 @@ NO_CONFIGURE=       yes
 BUILD_DIRS=    src doc
 MAKE_ENV+=     PREFIX=${PREFIX} UPX_UCLDIR=${PREFIX}
 
+MAKE_FLAGS+=   CXXFLAGS_WERROR=
+
 INSTALLATION_DIRS=     bin ${PKGMANDIR}/man1 share/doc/upx
 
 BUILDLINK_TRANSFORM+=          rm:-mcpu=i686
+BUILDLINK_TRANSFORM+=          rm:-Werror
 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