pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/libLLVM



Module Name:    pkgsrc
Committed By:   triaxx
Date:           Sun Oct 30 22:02:11 UTC 2022

Modified Files:
        pkgsrc/lang/libLLVM: Makefile

Log Message:
libLLVM: Fix building on FreeBSD

pkgsrc changes:
---------------
  * Disable terminfo on FreeBSD since error occur with curs_terminfo(3X)
    functions. The fix comes from FreeBSD ports.


To generate a diff of this commit:
cvs rdiff -u -r1.40 -r1.41 pkgsrc/lang/libLLVM/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/libLLVM/Makefile
diff -u pkgsrc/lang/libLLVM/Makefile:1.40 pkgsrc/lang/libLLVM/Makefile:1.41
--- pkgsrc/lang/libLLVM/Makefile:1.40   Sat Jul  9 08:16:02 2022
+++ pkgsrc/lang/libLLVM/Makefile        Sun Oct 30 22:02:11 2022
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.40 2022/07/09 08:16:02 wiz Exp $
+# $NetBSD: Makefile,v 1.41 2022/10/30 22:02:11 triaxx Exp $
 
 DISTNAME=      llvm-13.0.1.src
 PKGNAME=       ${DISTNAME:S/llvm/libLLVM/:S/.src//}
-PKGREVISION=   1
+PKGREVISION=   2
 CATEGORIES=    lang devel
 MASTER_SITES=  ${MASTER_SITE_GITHUB:=llvm/}
 GITHUB_PROJECT=        llvm-project
@@ -122,6 +122,11 @@ CFLAGS+=   -mlongcall
 CXXFLAGS+=     -mlongcall
 .endif
 
+# LLVM likes to pick up ${LOCALBASE}/lib/libtinfo.so.*
+.if ${OPSYS} == "FreeBSD"
+CMAKE_ARGS+=   -DLLVM_ENABLE_TERMINFO=OFF
+.endif
+
 .include "options.mk"
 
 # replacing config.guess is required even for cmake.



Home | Main Index | Thread Index | Old Index