Date: Thu, 1 Feb 2018 20:03:31 +0000 (UTC) From: Jose Alonso Cardenas Marquez <acm@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r460625 - in head/lang/ldc: . files Message-ID: <201802012003.w11K3Vao041793@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: acm Date: Thu Feb 1 20:03:30 2018 New Revision: 460625 URL: https://svnweb.freebsd.org/changeset/ports/460625 Log: - Update to 1.7.0 Added: head/lang/ldc/files/ head/lang/ldc/files/patch-runtime_CMakeLists.txt (contents, props changed) Modified: head/lang/ldc/Makefile head/lang/ldc/distinfo head/lang/ldc/pkg-plist Modified: head/lang/ldc/Makefile ============================================================================== --- head/lang/ldc/Makefile Thu Feb 1 19:20:07 2018 (r460624) +++ head/lang/ldc/Makefile Thu Feb 1 20:03:30 2018 (r460625) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= ldc -PORTVERSION= 1.3.0 +PORTVERSION= 1.7.0 CATEGORIES= lang MASTER_SITES= https://github.com/ldc-developers/ldc/releases/download/v${PORTVERSION}/:source \ https://github.com/ldc-developers/ldc/releases/download/v${BOOTVER}/:bootstrap @@ -23,14 +23,13 @@ BROKEN_powerpc64= fails to compile: cc1plus: error: un USES= cmake CMAKE_ARGS+= -DD_COMPILER:STRING="${WRKDIR}/${PORTNAME}-${BOOTVER:S/$/-src/}/bin/ldmd2" \ - -DD_COMPILER_FLAGS:STRING=${D_COMPILER_FLAGS} \ - -DD_FLAGS:STRING=${D_FLAGS} \ -DBUILD_SHARED_LIBS:STRING="BOTH" + CC= clang39 +CXX= clang++39 -BOOTVER= 0.17.3 +BOOTVER= 0.17.5 LDCVER= ${PORTVERSION} -D_FLAGS= "-w;" WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:S/$/-src/} DISTFILES+= ${PORTNAME}-${BOOTVER}-src.tar.gz:bootstrap @@ -38,8 +37,7 @@ DISTFILES+= ${PORTNAME}-${BOOTVER}-src.tar.gz:bootstra .include <bsd.port.pre.mk> .if ${ARCH} == "amd64" -D_COMPILER_FLAGS="-m64 -relocation-model=pic" -D_FLAGS="-m64;-relocation-model=pic" +CFLAGS+= -fPIC .endif pre-configure: Modified: head/lang/ldc/distinfo ============================================================================== --- head/lang/ldc/distinfo Thu Feb 1 19:20:07 2018 (r460624) +++ head/lang/ldc/distinfo Thu Feb 1 20:03:30 2018 (r460625) @@ -1,5 +1,5 @@ -TIMESTAMP = 1500151106 -SHA256 (ldc-1.3.0-src.tar.gz) = efe31a639bcb44e1f5b752da21713376d9410a01279fecc8aab8572065a3050b -SIZE (ldc-1.3.0-src.tar.gz) = 6313956 -SHA256 (ldc-0.17.3-src.tar.gz) = 325bd540f7eb71c309fa0ee9ef6d196a75ee2c3ccf323076053e6b7b295c2dad -SIZE (ldc-0.17.3-src.tar.gz) = 4934044 +TIMESTAMP = 1517340071 +SHA256 (ldc-1.7.0-src.tar.gz) = 7cd46140ca3e4ca0d52c352e5b694d4d5336898ed4f02c3e18e0eafd69dd18bd +SIZE (ldc-1.7.0-src.tar.gz) = 6529435 +SHA256 (ldc-0.17.5-src.tar.gz) = 7aa540a135f9fa1ee9722cad73100a8f3600a07f9a11d199d8be68887cc90008 +SIZE (ldc-0.17.5-src.tar.gz) = 5006161 Added: head/lang/ldc/files/patch-runtime_CMakeLists.txt ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/lang/ldc/files/patch-runtime_CMakeLists.txt Thu Feb 1 20:03:30 2018 (r460625) @@ -0,0 +1,17 @@ +--- runtime/CMakeLists.txt.orig 2018-01-05 23:42:10 UTC ++++ runtime/CMakeLists.txt +@@ -430,10 +430,13 @@ endmacro() + # Sets up the targets for building the Phobos D object files, appending the + # names of the (bitcode) files to link into the library to outlist_o (outlist_bc). + macro(compile_phobos2 d_flags lib_suffix path_suffix all_at_once outlist_o outlist_bc) ++ if(NOT ${BUILD_SHARED_LIBS} STREQUAL "OFF") ++ set(RELOCATION_FLAGS -relocation-model=pic) ++ endif() + get_target_suffix("${lib_suffix}" "${path_suffix}" target_suffix) + dc("${PHOBOS2_D}" + "${PHOBOS2_DIR}" +- "-conf=;${d_flags};-I${RUNTIME_DIR}/src;-I${PHOBOS2_DIR}" ++ "-conf=;${d_flags};${RELOCATION_FLAGS};-I${RUNTIME_DIR}/src;-I${PHOBOS2_DIR}" + "${PROJECT_BINARY_DIR}/objects${target_suffix}" + "${all_at_once}" + ${outlist_o} Modified: head/lang/ldc/pkg-plist ============================================================================== --- head/lang/ldc/pkg-plist Thu Feb 1 19:20:07 2018 (r460624) +++ head/lang/ldc/pkg-plist Thu Feb 1 20:03:30 2018 (r460625) @@ -1,3 +1,4 @@ +bin/ldc-build-runtime bin/ldc-profdata bin/ldc-prune-cache bin/ldc2 @@ -11,6 +12,7 @@ include/d/core/cpuid.d include/d/core/demangle.d include/d/core/exception.d include/d/core/internal/abort.d +include/d/core/internal/arrayop.d include/d/core/internal/convert.d include/d/core/internal/hash.d include/d/core/internal/spinlock.d @@ -20,6 +22,7 @@ include/d/core/math.d include/d/core/memory.d include/d/core/runtime.d include/d/core/simd.d +include/d/core/stdc/assert_.d include/d/core/stdc/complex.d include/d/core/stdc/config.d include/d/core/stdc/ctype.d @@ -62,12 +65,14 @@ include/d/core/sys/darwin/mach/loader.d include/d/core/sys/darwin/mach/port.d include/d/core/sys/darwin/mach/semaphore.d include/d/core/sys/darwin/mach/thread_act.d +include/d/core/sys/darwin/netinet/in_.d include/d/core/sys/darwin/pthread.d include/d/core/sys/darwin/sys/cdefs.d include/d/core/sys/darwin/sys/event.d include/d/core/sys/darwin/sys/mman.d include/d/core/sys/freebsd/dlfcn.d include/d/core/sys/freebsd/execinfo.d +include/d/core/sys/freebsd/netinet/in_.d include/d/core/sys/freebsd/pthread_np.d include/d/core/sys/freebsd/sys/_bitset.d include/d/core/sys/freebsd/sys/_cpuset.d @@ -89,9 +94,13 @@ include/d/core/sys/linux/execinfo.d include/d/core/sys/linux/fcntl.d include/d/core/sys/linux/ifaddrs.d include/d/core/sys/linux/link.d +include/d/core/sys/linux/netinet/in_.d +include/d/core/sys/linux/netinet/tcp.d include/d/core/sys/linux/sched.d include/d/core/sys/linux/stdio.d include/d/core/sys/linux/sys/auxv.d +include/d/core/sys/linux/sys/eventfd.d +include/d/core/sys/linux/sys/file.d include/d/core/sys/linux/sys/inotify.d include/d/core/sys/linux/sys/mman.d include/d/core/sys/linux/sys/netinet/tcp.d @@ -373,13 +382,12 @@ include/d/etc/c/zlib.d include/d/etc/linux/memoryerror.d include/d/ldc/arm_unwind.c include/d/ldc/arrayinit.d +include/d/ldc/asan.d include/d/ldc/attributes.d include/d/ldc/dcompute.d -include/d/ldc/eh/common.d -include/d/ldc/eh/fixedpool.d -include/d/ldc/eh/libunwind.d -include/d/ldc/eh/msvc.d +include/d/ldc/dynamic_compile.d include/d/ldc/eh_asm.S +include/d/ldc/eh_msvc.d include/d/ldc/gccbuiltins_aarch64.di include/d/ldc/gccbuiltins_arm.di include/d/ldc/gccbuiltins_mips.di @@ -432,7 +440,6 @@ include/d/std/c/windows/winsock.d include/d/std/compiler.d include/d/std/complex.d include/d/std/concurrency.d -include/d/std/concurrencybase.d include/d/std/container/array.d include/d/std/container/binaryheap.d include/d/std/container/dlist.d @@ -442,13 +449,19 @@ include/d/std/container/slist.d include/d/std/container/util.d include/d/std/conv.d include/d/std/csv.d -include/d/std/datetime.d +include/d/std/datetime/date.d +include/d/std/datetime/interval.d +include/d/std/datetime/package.d +include/d/std/datetime/stopwatch.d +include/d/std/datetime/systime.d +include/d/std/datetime/timezone.d include/d/std/demangle.d include/d/std/digest/crc.d include/d/std/digest/digest.d include/d/std/digest/hmac.d include/d/std/digest/md.d include/d/std/digest/murmurhash.d +include/d/std/digest/package.d include/d/std/digest/ripemd.d include/d/std/digest/sha.d include/d/std/encoding.d @@ -475,16 +488,12 @@ include/d/std/experimental/allocator/mmap_allocator.d include/d/std/experimental/allocator/package.d include/d/std/experimental/allocator/showcase.d include/d/std/experimental/allocator/typed.d +include/d/std/experimental/checkedint.d include/d/std/experimental/logger/core.d include/d/std/experimental/logger/filelogger.d include/d/std/experimental/logger/multilogger.d include/d/std/experimental/logger/nulllogger.d include/d/std/experimental/logger/package.d -include/d/std/experimental/ndslice/internal.d -include/d/std/experimental/ndslice/iteration.d -include/d/std/experimental/ndslice/package.d -include/d/std/experimental/ndslice/selection.d -include/d/std/experimental/ndslice/slice.d include/d/std/experimental/typecons.d include/d/std/file.d include/d/std/format.d @@ -492,16 +501,15 @@ include/d/std/functional.d include/d/std/getopt.d include/d/std/internal/cstring.d include/d/std/internal/digest/sha_SSSE3.d -include/d/std/internal/encodinginit.d include/d/std/internal/math/biguintarm.d include/d/std/internal/math/biguintcore.d include/d/std/internal/math/biguintnoasm.d include/d/std/internal/math/biguintx86.d include/d/std/internal/math/errorfunction.d include/d/std/internal/math/gammafunction.d -include/d/std/internal/processinit.d include/d/std/internal/scopebuffer.d include/d/std/internal/test/dummyrange.d +include/d/std/internal/test/range.d include/d/std/internal/test/uda.d include/d/std/internal/unicode_comp.d include/d/std/internal/unicode_decomp.d @@ -530,7 +538,6 @@ include/d/std/regex/internal/generator.d include/d/std/regex/internal/ir.d include/d/std/regex/internal/kickstart.d include/d/std/regex/internal/parser.d -include/d/std/regex/internal/shiftor.d include/d/std/regex/internal/tests.d include/d/std/regex/internal/thompson.d include/d/std/regex/package.d @@ -538,7 +545,6 @@ include/d/std/signals.d include/d/std/socket.d include/d/std/stdint.d include/d/std/stdio.d -include/d/std/stdiobase.d include/d/std/string.d include/d/std/system.d include/d/std/traits.d @@ -557,20 +563,24 @@ include/d/std/xml.d include/d/std/zip.d include/d/std/zlib.d lib/libdruntime-ldc-debug-shared.so -lib/libdruntime-ldc-debug-shared.so.2.0.73 -lib/libdruntime-ldc-debug-shared.so.73 +lib/libdruntime-ldc-debug-shared.so.2.0.77 +lib/libdruntime-ldc-debug-shared.so.77 lib/libdruntime-ldc-debug.a lib/libdruntime-ldc-shared.so -lib/libdruntime-ldc-shared.so.2.0.73 -lib/libdruntime-ldc-shared.so.73 +lib/libdruntime-ldc-shared.so.2.0.77 +lib/libdruntime-ldc-shared.so.77 lib/libdruntime-ldc.a +lib/libldc-jit-rt.a +lib/libldc-jit.so +lib/libldc-jit.so.2.0.77 +lib/libldc-jit.so.77 lib/libldc-profile-rt.a lib/libphobos2-ldc-debug-shared.so -lib/libphobos2-ldc-debug-shared.so.2.0.73 -lib/libphobos2-ldc-debug-shared.so.73 +lib/libphobos2-ldc-debug-shared.so.2.0.77 +lib/libphobos2-ldc-debug-shared.so.77 lib/libphobos2-ldc-debug.a lib/libphobos2-ldc-shared.so -lib/libphobos2-ldc-shared.so.2.0.73 -lib/libphobos2-ldc-shared.so.73 +lib/libphobos2-ldc-shared.so.2.0.77 +lib/libphobos2-ldc-shared.so.77 lib/libphobos2-ldc.a @dir include/d/etc/c/zlib
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201802012003.w11K3Vao041793>