pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/lang/compiler-rt compiler-rt: Fix PLIST on SunOS.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/4d0f9ae74ff3
branches:  trunk
changeset: 389011:4d0f9ae74ff3
user:      jperkin <jperkin%pkgsrc.org@localhost>
date:      Mon Dec 17 16:19:52 2018 +0000

description:
compiler-rt: Fix PLIST on SunOS.

diffstat:

 lang/compiler-rt/Makefile    |  9 ++++++++-
 lang/compiler-rt/PLIST       |  6 +++---
 lang/compiler-rt/PLIST.SunOS |  3 +++
 3 files changed, 14 insertions(+), 4 deletions(-)

diffs (47 lines):

diff -r 62407edb1725 -r 4d0f9ae74ff3 lang/compiler-rt/Makefile
--- a/lang/compiler-rt/Makefile Mon Dec 17 16:15:28 2018 +0000
+++ b/lang/compiler-rt/Makefile Mon Dec 17 16:19:52 2018 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.5 2018/12/09 20:04:40 adam Exp $
+# $NetBSD: Makefile,v 1.6 2018/12/17 16:19:52 jperkin Exp $
 
 DISTNAME=      compiler-rt-7.0.0.src
 PKGNAME=       ${DISTNAME:S/.src//}
@@ -35,6 +35,13 @@
 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
 
diff -r 62407edb1725 -r 4d0f9ae74ff3 lang/compiler-rt/PLIST
--- a/lang/compiler-rt/PLIST    Mon Dec 17 16:15:28 2018 +0000
+++ b/lang/compiler-rt/PLIST    Mon Dec 17 16:19:52 2018 +0000
@@ -1,4 +1,4 @@
-@comment $NetBSD: PLIST,v 1.2 2018/12/09 20:04:40 adam Exp $
+@comment $NetBSD: PLIST,v 1.3 2018/12/17 16:19:52 jperkin Exp $
 lib/clang/${PKGVERSION}/include/sanitizer/allocator_interface.h
 lib/clang/${PKGVERSION}/include/sanitizer/asan_interface.h
 lib/clang/${PKGVERSION}/include/sanitizer/common_interface_defs.h
@@ -15,5 +15,5 @@
 lib/clang/${PKGVERSION}/include/sanitizer/tsan_interface_atomic.h
 lib/clang/${PKGVERSION}/include/xray/xray_interface.h
 lib/clang/${PKGVERSION}/include/xray/xray_log_interface.h
-lib/clang/${PKGVERSION}/share/asan_blacklist.txt
-lib/clang/${PKGVERSION}/share/cfi_blacklist.txt
+${PLIST.asan}lib/clang/${PKGVERSION}/share/asan_blacklist.txt
+${PLIST.asan}lib/clang/${PKGVERSION}/share/cfi_blacklist.txt
diff -r 62407edb1725 -r 4d0f9ae74ff3 lang/compiler-rt/PLIST.SunOS
--- /dev/null   Thu Jan 01 00:00:00 1970 +0000
+++ b/lang/compiler-rt/PLIST.SunOS      Mon Dec 17 16:19:52 2018 +0000
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST.SunOS,v 1.1 2018/12/17 16:19:52 jperkin Exp $
+lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.builtins-i386.a
+lib/clang/${PKGVERSION}/lib/${COMPILER_RT_OS_DIR}/libclang_rt.builtins-x86_64.a



Home | Main Index | Thread Index | Old Index