pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang/compiler-rt



Module Name:    pkgsrc
Committed By:   nia
Date:           Sun Sep 19 09:12:46 UTC 2021

Modified Files:
        pkgsrc/lang/compiler-rt: Makefile
Removed Files:
        pkgsrc/lang/compiler-rt: PLIST PLIST.Darwin PLIST.NetBSD PLIST.SunOS

Log Message:
compiler-rt: switch from static PLIST to generated PLIST

the PLIST is target-specific and it's possible that files for multiple
targets are generated (this is the case on NetBSD/amd64). Since the
static PLIST can't support multiple targets currently, switch to a
generated one.


To generate a diff of this commit:
cvs rdiff -u -r1.17 -r1.18 pkgsrc/lang/compiler-rt/Makefile
cvs rdiff -u -r1.5 -r0 pkgsrc/lang/compiler-rt/PLIST
cvs rdiff -u -r1.4 -r0 pkgsrc/lang/compiler-rt/PLIST.Darwin \
    pkgsrc/lang/compiler-rt/PLIST.NetBSD
cvs rdiff -u -r1.1 -r0 pkgsrc/lang/compiler-rt/PLIST.SunOS

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

Modified files:

Index: pkgsrc/lang/compiler-rt/Makefile
diff -u pkgsrc/lang/compiler-rt/Makefile:1.17 pkgsrc/lang/compiler-rt/Makefile:1.18
--- pkgsrc/lang/compiler-rt/Makefile:1.17       Mon Jul 12 18:46:07 2021
+++ pkgsrc/lang/compiler-rt/Makefile    Sun Sep 19 09:12:46 2021
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.17 2021/07/12 18:46:07 adam Exp $
+# $NetBSD: Makefile,v 1.18 2021/09/19 09:12:46 nia Exp $
 
 .include "../../lang/llvm/version.mk"
 
@@ -33,17 +33,11 @@ CMAKE_ARGS+=        -DCOMPILER_RT_INSTALL_PATH:
 CMAKE_ARGS+=   -DLLVM_CONFIG_PATH=${LLVM_CONFIG_PATH:Q}
 CMAKE_ARGS+=   -DCOMPILER_RT_ENABLE_IOS=OFF
 
-PLIST_SUBST+=  COMPILER_RT_OS_DIR=${OS_DIR}
-PLIST_VARS+=   asan
-
-.include "../../mk/bsd.prefs.mk"
-
-.if ${OPSYS} != "SunOS"
-PLIST.asan=    yes
-.endif
-
 TEST_TARGET=   check-compiler-rt
 
+GENERATE_PLIST+=       find ${DESTDIR}${PREFIX} \( -type f -o -type l \) -print | \
+                       sed 's,${DESTDIR}${PREFIX}/,,' | ${SORT} ;
+
 PYTHON_FOR_BUILD_ONLY= yes
 
 post-extract:



Home | Main Index | Thread Index | Old Index