pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/libunwind



Module Name:    pkgsrc
Committed By:   bacon
Date:           Fri Mar  1 22:14:58 UTC 2024

Modified Files:
        pkgsrc/lang/libunwind: Makefile

Log Message:
lang/libunwind: Unbreak on RHEL 8

USE_GCC=10 was causing build failures
No changes to package on other platforms


To generate a diff of this commit:
cvs rdiff -u -r1.34 -r1.35 pkgsrc/lang/libunwind/Makefile

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

Modified files:

Index: pkgsrc/lang/libunwind/Makefile
diff -u pkgsrc/lang/libunwind/Makefile:1.34 pkgsrc/lang/libunwind/Makefile:1.35
--- pkgsrc/lang/libunwind/Makefile:1.34 Fri Oct  6 19:15:21 2023
+++ pkgsrc/lang/libunwind/Makefile      Fri Mar  1 22:14:58 2024
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.34 2023/10/06 19:15:21 adam Exp $
+# $NetBSD: Makefile,v 1.35 2024/03/01 22:14:58 bacon Exp $
 
 .include "../../lang/llvm/version.mk"
 
@@ -22,7 +22,15 @@ USE_CXX_FEATURES+=   c++11
 USE_LANGUAGES=         c c++
 USE_TOOLS+=            pax
 SSP_SUPPORTED=         no
+
+.include "../../mk/bsd.prefs.mk"
+
+# Configure fails on Alma8 with "/usr/bin/ld: cannot find -lgcc_s".
+# The pkg works fine with base GCC.
+# The libcxx pkg currently has GCC_REQD=12, while this one is 10.
+.if ${OPSYS} != Linux || !exists(/etc/redhat-release)
 GCC_REQD+=             10      # must be in sync with libcxx
+.endif
 
 CMAKE_ARGS+=   -DCMAKE_BUILD_TYPE=Release
 



Home | Main Index | Thread Index | Old Index