pkgsrc-Changes archive

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

CVS commit: pkgsrc/devel/lld



Module Name:    pkgsrc
Committed By:   fcambus
Date:           Tue Mar 14 11:25:56 UTC 2023

Modified Files:
        pkgsrc/devel/lld: Makefile PLIST

Log Message:
lld: add a symlink in ${PREFIX}/libexec so that LLD can be used in Pkgsrc.


To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 pkgsrc/devel/lld/Makefile
cvs rdiff -u -r1.8 -r1.9 pkgsrc/devel/lld/PLIST

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

Modified files:

Index: pkgsrc/devel/lld/Makefile
diff -u pkgsrc/devel/lld/Makefile:1.20 pkgsrc/devel/lld/Makefile:1.21
--- pkgsrc/devel/lld/Makefile:1.20      Tue Jan 24 18:36:23 2023
+++ pkgsrc/devel/lld/Makefile   Tue Mar 14 11:25:56 2023
@@ -1,9 +1,10 @@
-# $NetBSD: Makefile,v 1.20 2023/01/24 18:36:23 wiz Exp $
+# $NetBSD: Makefile,v 1.21 2023/03/14 11:25:56 fcambus Exp $
 
 .include "../../lang/llvm/version.mk"
 
 DISTNAME=      lld-${LLVM_VERSION}.src
 PKGNAME=       ${DISTNAME:S/.src//}
+PKGREVISION=   1
 CATEGORIES=    devel
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -20,6 +21,11 @@ CMAKE_ARGS+= -DCMAKE_CXX_COMPILER=${CXX:
 
 PYTHON_FOR_BUILD_ONLY= yes
 
+INSTALLATION_DIRS+=    libexec/lld
+
+post-install:
+       ${LN} -sf ${PREFIX}/bin/lld ${DESTDIR}${PREFIX}/libexec/lld/ld
+
 .include "options.mk"
 .include "../../devel/cmake/build.mk"
 .include "../../lang/llvm/buildlink3.mk"

Index: pkgsrc/devel/lld/PLIST
diff -u pkgsrc/devel/lld/PLIST:1.8 pkgsrc/devel/lld/PLIST:1.9
--- pkgsrc/devel/lld/PLIST:1.8  Mon Nov 14 18:44:05 2022
+++ pkgsrc/devel/lld/PLIST      Tue Mar 14 11:25:56 2023
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.8 2022/11/14 18:44:05 adam Exp $
+@comment $NetBSD: PLIST,v 1.9 2023/03/14 11:25:56 fcambus Exp $
 bin/ld.lld
 bin/ld64.lld
 bin/lld
@@ -27,3 +27,4 @@ lib/liblldELF.a
 lib/liblldMachO.a
 lib/liblldMinGW.a
 lib/liblldWasm.a
+libexec/lld/ld



Home | Main Index | Thread Index | Old Index