pkgsrc-Changes archive

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

CVS commit: pkgsrc/lang



Module Name:    pkgsrc
Committed By:   jperkin
Date:           Thu Aug  9 14:13:25 UTC 2018

Modified Files:
        pkgsrc/lang: Makefile
Added Files:
        pkgsrc/lang/libcxxabi: DESCR Makefile PLIST buildlink3.mk distinfo

Log Message:
lang: Import libcxxabi version 6.0.1.

libc++abi is a new implementation of low level support for a standard
C++ library.

Features and Goals
 * Correctness as defined by the C++11 standard.
 * Provide a portable sublayer to ease the porting of libc++
 * On Mac OS X, be ABI compatible with the existing low-level support.


To generate a diff of this commit:
cvs rdiff -u -r1.490 -r1.491 pkgsrc/lang/Makefile
cvs rdiff -u -r0 -r1.1 pkgsrc/lang/libcxxabi/DESCR \
    pkgsrc/lang/libcxxabi/Makefile pkgsrc/lang/libcxxabi/PLIST \
    pkgsrc/lang/libcxxabi/buildlink3.mk pkgsrc/lang/libcxxabi/distinfo

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

Modified files:

Index: pkgsrc/lang/Makefile
diff -u pkgsrc/lang/Makefile:1.490 pkgsrc/lang/Makefile:1.491
--- pkgsrc/lang/Makefile:1.490  Thu Aug  9 13:40:34 2018
+++ pkgsrc/lang/Makefile        Thu Aug  9 14:13:25 2018
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.490 2018/08/09 13:40:34 jperkin Exp $
+# $NetBSD: Makefile,v 1.491 2018/08/09 14:13:25 jperkin Exp $
 #
 
 COMMENT=       Programming languages
@@ -122,6 +122,7 @@ SUBDIR+=    ksi
 SUBDIR+=       libBlocksRuntime
 SUBDIR+=       libLLVM
 SUBDIR+=       libLLVM34
+SUBDIR+=       libcxxabi
 SUBDIR+=       libduktape
 SUBDIR+=       librep
 SUBDIR+=       libtcl-nothread

Added files:

Index: pkgsrc/lang/libcxxabi/DESCR
diff -u /dev/null pkgsrc/lang/libcxxabi/DESCR:1.1
--- /dev/null   Thu Aug  9 14:13:25 2018
+++ pkgsrc/lang/libcxxabi/DESCR Thu Aug  9 14:13:25 2018
@@ -0,0 +1,7 @@
+libc++abi is a new implementation of low level support for a standard
+C++ library.
+
+Features and Goals
+ * Correctness as defined by the C++11 standard.
+ * Provide a portable sublayer to ease the porting of libc++
+ * On Mac OS X, be ABI compatible with the existing low-level support.
Index: pkgsrc/lang/libcxxabi/Makefile
diff -u /dev/null pkgsrc/lang/libcxxabi/Makefile:1.1
--- /dev/null   Thu Aug  9 14:13:25 2018
+++ pkgsrc/lang/libcxxabi/Makefile      Thu Aug  9 14:13:25 2018
@@ -0,0 +1,41 @@
+# $NetBSD: Makefile,v 1.1 2018/08/09 14:13:25 jperkin Exp $
+
+DISTNAME=      libcxxabi-6.0.1.src
+PKGNAME=       ${DISTNAME:S/.src//}
+CATEGORIES=    lang devel
+MASTER_SITES=  http://llvm.org/releases/${PKGVERSION_NOREV}/
+EXTRACT_SUFX=  .tar.xz
+
+MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
+HOMEPAGE=      http://libcxxabi.llvm.org/
+COMMENT=       C++ Standard Library
+LICENSE=       modified-bsd OR mit
+
+# libcxx requires libcxxabi's cxxabi.h to build, but libcxxabi requires
+# libcxx's includes to build, so we have this unholy extra distfiles thing
+# in both of them to get them to build against each other without causing
+# circular dependencies.  This must be kept in sync with libcxxabi/Makefile.
+#
+LIBCXX=                libcxx-${PKGVERSION_NOREV}.src
+DISTFILES=     ${DEFAULT_DISTFILES} ${LIBCXX}${EXTRACT_SUFX}
+
+CONFIGURE_DIRS=        ${WRKDIR}/build
+CMAKE_ARG_PATH=        ${WRKSRC}
+
+USE_LANGUAGES= c c++
+USE_CMAKE=     yes
+GCC_REQD+=     4.8
+SSP_SUPPORTED= no
+
+CMAKE_ARGS+=   -DCMAKE_BUILD_TYPE=Release
+CMAKE_ARGS+=   -DCMAKE_C_COMPILER=${CC:Q}
+CMAKE_ARGS+=   -DCMAKE_CXX_COMPILER=${CXX:Q}
+CMAKE_ARGS+=   -DLIBCXXABI_LIBCXX_INCLUDES=${WRKDIR}/${LIBCXX}/include
+CMAKE_ARGS+=   -DLIBCXXABI_USE_LLVM_UNWINDER=YES
+
+post-extract:
+       ${RUN} mkdir -p ${WRKDIR}/build
+
+.include "../../lang/libunwind/buildlink3.mk"
+.include "../../lang/llvm/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
Index: pkgsrc/lang/libcxxabi/PLIST
diff -u /dev/null pkgsrc/lang/libcxxabi/PLIST:1.1
--- /dev/null   Thu Aug  9 14:13:25 2018
+++ pkgsrc/lang/libcxxabi/PLIST Thu Aug  9 14:13:25 2018
@@ -0,0 +1,5 @@
+@comment $NetBSD: PLIST,v 1.1 2018/08/09 14:13:25 jperkin Exp $
+lib/libc++abi.a
+lib/libc++abi.so
+lib/libc++abi.so.1
+lib/libc++abi.so.1.0
Index: pkgsrc/lang/libcxxabi/buildlink3.mk
diff -u /dev/null pkgsrc/lang/libcxxabi/buildlink3.mk:1.1
--- /dev/null   Thu Aug  9 14:13:25 2018
+++ pkgsrc/lang/libcxxabi/buildlink3.mk Thu Aug  9 14:13:25 2018
@@ -0,0 +1,14 @@
+# $NetBSD: buildlink3.mk,v 1.1 2018/08/09 14:13:25 jperkin Exp $
+
+BUILDLINK_TREE+=       libcxxabi
+
+.if !defined(LIBCXXABI_BUILDLINK3_MK)
+LIBCXXABI_BUILDLINK3_MK:=
+
+BUILDLINK_API_DEPENDS.libcxxabi+=      libcxxabi>=6.0.1
+BUILDLINK_PKGSRCDIR.libcxxabi?=                ../../lang/libcxxabi
+
+.include "../../lang/llvm/buildlink3.mk"
+.endif # LIBCXXABI_BUILDLINK3_MK
+
+BUILDLINK_TREE+=       -libcxxabi
Index: pkgsrc/lang/libcxxabi/distinfo
diff -u /dev/null pkgsrc/lang/libcxxabi/distinfo:1.1
--- /dev/null   Thu Aug  9 14:13:25 2018
+++ pkgsrc/lang/libcxxabi/distinfo      Thu Aug  9 14:13:25 2018
@@ -0,0 +1,10 @@
+$NetBSD: distinfo,v 1.1 2018/08/09 14:13:25 jperkin Exp $
+
+SHA1 (libcxx-6.0.1.src.tar.xz) = 6506139683ca5319f90c84c8a29b633afda849ce
+RMD160 (libcxx-6.0.1.src.tar.xz) = ead6a4fa9a0b700c96def8cfe5f7945d807da82c
+SHA512 (libcxx-6.0.1.src.tar.xz) = c04f628b0924d76f035f615b59d19ce42dfc19c9a8eea4fe2b22a95cfe5a037ebdb30943fd741443939df5b4cf692bc1e51c840fefefbd134e3afbe2a75fe875
+Size (libcxx-6.0.1.src.tar.xz) = 1552328 bytes
+SHA1 (libcxxabi-6.0.1.src.tar.xz) = 54bff42750c9c81dba60710d6ee70d1c9e83c5af
+RMD160 (libcxxabi-6.0.1.src.tar.xz) = 37cd93201a0409b8cc75f52622abbd5682067e6e
+SHA512 (libcxxabi-6.0.1.src.tar.xz) = bbb4c7b412e295cb735f637df48a83093eef45ed5444f7766790b4b047f75fd5fd634d8f3a8ac33a5c1407bd16fd450ba113f60a9bcc1d0a911fe0c54e9c81f2
+Size (libcxxabi-6.0.1.src.tar.xz) = 528356 bytes



Home | Main Index | Thread Index | Old Index