Index: files/patch-CMakeLists.txt =================================================================== --- files/patch-CMakeLists.txt (révision 0) +++ files/patch-CMakeLists.txt (copie de travail) @@ -0,0 +1,10 @@ +--- ./CMakeLists.txt.orig 2014-03-12 05:11:31.000000000 +0100 ++++ ./CMakeLists.txt 2014-05-27 18:06:18.697678945 +0200 +@@ -42,6 +42,7 @@ + option(LIBCXX_ENABLE_WERROR "Fail and stop if a warning is triggered." OFF) + option(LIBCXX_ENABLE_CXX0X "Enable -std=c++0x and use of c++0x language features if the compiler supports it." ON) + option(LIBCXX_ENABLE_SHARED "Build libc++ as a shared library." ON) ++option(LIBCXX_ENABLE_STATIC "Build libc++ as a static library." ON) + option(LIBCXX_INSTALL_SUPPORT_HEADERS "Install libc++ support headers." ON) + + set(CXXABIS none libcxxabi libcxxrt libstdc++ libsupc++) Modification de propriétés sur files/patch-CMakeLists.txt ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: files/patch-lib__CMakeLists.txt =================================================================== --- files/patch-lib__CMakeLists.txt (révision 0) +++ files/patch-lib__CMakeLists.txt (copie de travail) @@ -0,0 +1,41 @@ +--- ./lib/CMakeLists.txt.orig 2013-11-15 18:18:57.000000000 +0100 ++++ ./lib/CMakeLists.txt 2014-05-27 18:07:14.506905917 +0200 +@@ -24,8 +24,9 @@ + ${LIBCXX_SOURCES} + ${LIBCXX_HEADERS} + ) +-else() +- add_library(cxx STATIC ++endif() ++if (LIBCXX_ENABLE_STATIC) ++ add_library(cxx_static STATIC + ${LIBCXX_SOURCES} + ${LIBCXX_HEADERS} + ) +@@ -43,7 +44,7 @@ + append_if(libraries LIBCXX_HAS_RT_LIB rt) + append_if(libraries LIBCXX_HAS_GCC_S_LIB gcc_s) + +-target_link_libraries(cxx ${libraries}) ++target_link_libraries(cxx cxx_static ${libraries}) + + # Setup flags. + append_if(compile_flags LIBCXX_HAS_FPIC_FLAG -fPIC) +@@ -99,3 +100,17 @@ + LIBRARY DESTINATION lib + ARCHIVE DESTINATION lib + ) ++ ++set_target_properties(cxx_static ++ PROPERTIES ++ COMPILE_FLAGS "${compile_flags}" ++ LINK_FLAGS "${link_flags}" ++ OUTPUT_NAME "c++" ++ VERSION "1.0" ++ SOVERSION "1" ++ ) ++ ++install(TARGETS cxx_static ++ LIBRARY DESTINATION lib ++ ARCHIVE DESTINATION lib ++ ) Modification de propriétés sur files/patch-lib__CMakeLists.txt ___________________________________________________________________ Added: fbsd:nokeywords ## -0,0 +1 ## +yes \ No newline at end of property Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: pkg-plist =================================================================== --- pkg-plist (révision 355488) +++ pkg-plist (copie de travail) @@ -231,6 +231,7 @@ include/c++/v1/utility include/c++/v1/valarray include/c++/v1/vector +lib/libc++.a lib/libc++.so lib/libc++.so.1 lib/libc++.so.1.0