Index: head/lang/Makefile =================================================================== --- head/lang/Makefile (revision 415316) +++ head/lang/Makefile (revision 415317) @@ -1,362 +1,363 @@ # $FreeBSD$ # COMMENT = Programming languages SUBDIR += Gofer SUBDIR += abcl SUBDIR += adacontrol SUBDIR += afnix SUBDIR += alchemist.el SUBDIR += algol68g SUBDIR += alisp SUBDIR += angelscript SUBDIR += arena SUBDIR += asis SUBDIR += asn1c SUBDIR += atlast SUBDIR += ats SUBDIR += awka SUBDIR += bas2tap SUBDIR += basic256 SUBDIR += beignet SUBDIR += bf2c SUBDIR += bigloo SUBDIR += bsh SUBDIR += bwbasic SUBDIR += c SUBDIR += ccl SUBDIR += cdent SUBDIR += ceylon SUBDIR += cfortran SUBDIR += chibi-scheme SUBDIR += chicken SUBDIR += cint SUBDIR += cjs SUBDIR += clang-devel SUBDIR += clang33 SUBDIR += clang34 SUBDIR += clang35 SUBDIR += clang36 SUBDIR += clang37 SUBDIR += clang38 SUBDIR += clojure SUBDIR += clojure-mode.el SUBDIR += clover SUBDIR += cmucl SUBDIR += cmucl-extra SUBDIR += cocor SUBDIR += cparser SUBDIR += csharp-mode.el SUBDIR += cython SUBDIR += diveintopython SUBDIR += dlv SUBDIR += dmd1 SUBDIR += dmd2 SUBDIR += duktape SUBDIR += ecl SUBDIR += elan SUBDIR += elixir SUBDIR += elixir-mode.el SUBDIR += elk SUBDIR += emacs-lisp-intro SUBDIR += erlang SUBDIR += erlang-java SUBDIR += erlang-riak SUBDIR += erlang-runtime15 SUBDIR += erlang-runtime16 SUBDIR += erlang-runtime17 SUBDIR += erlang-runtime18 SUBDIR += erlang-wx SUBDIR += execline SUBDIR += expect SUBDIR += f2c SUBDIR += fasm SUBDIR += ferite SUBDIR += ficl SUBDIR += fpc SUBDIR += fpc-base SUBDIR += fpc-docs SUBDIR += fpc-lua SUBDIR += fpc-rexx SUBDIR += fpc-rtl-console SUBDIR += fpc-rtl-extra SUBDIR += fpc-rtl-objpas SUBDIR += fpc-rtl-unicode SUBDIR += fpc-tcl SUBDIR += fpc-units SUBDIR += fpc-utils SUBDIR += fsharp SUBDIR += gambit-c SUBDIR += gauche SUBDIR += gawk SUBDIR += gcc SUBDIR += gcc-ecj45 SUBDIR += gcc46 SUBDIR += gcc47 SUBDIR += gcc48 SUBDIR += gcc49 SUBDIR += gcc5 SUBDIR += gcc5-aux SUBDIR += gcc5-devel SUBDIR += gcc6-aux SUBDIR += gcc6-devel SUBDIR += gcc7-devel SUBDIR += gcl SUBDIR += gforth SUBDIR += ghc SUBDIR += gjs SUBDIR += gnat_util SUBDIR += gnatdroid-armv7 SUBDIR += gnatdroid-binutils SUBDIR += gnatdroid-binutils-x86 SUBDIR += gnatdroid-sysroot SUBDIR += gnatdroid-sysroot-x86 SUBDIR += gnatdroid-x86 SUBDIR += gnu-cobol SUBDIR += gnustep-base SUBDIR += go SUBDIR += go14 SUBDIR += gprolog SUBDIR += groovy SUBDIR += gscheme SUBDIR += guile SUBDIR += guile2 SUBDIR += harbour SUBDIR += haskell-mode.el SUBDIR += hla SUBDIR += hope SUBDIR += hs-brainfuck SUBDIR += hs-unlambda SUBDIR += huc SUBDIR += hugs SUBDIR += icc SUBDIR += ici SUBDIR += icon SUBDIR += intel2gas SUBDIR += intercal SUBDIR += io SUBDIR += itcl SUBDIR += itcl4 SUBDIR += jakarta-commons-jelly SUBDIR += jimtcl SUBDIR += jruby SUBDIR += js_of_ocaml SUBDIR += jython SUBDIR += kawa SUBDIR += kturtle SUBDIR += lafontaine SUBDIR += lci SUBDIR += lfe SUBDIR += libhx SUBDIR += libjit SUBDIR += libobjc2 SUBDIR += librep SUBDIR += libstdc++_stldoc_4.2.2 SUBDIR += linux-c6-tcl85 SUBDIR += linux-f10-libg2c SUBDIR += linux-f10-tcl85 SUBDIR += linux-j SUBDIR += lua-ada SUBDIR += lua-mode.el SUBDIR += lua51 SUBDIR += lua52 SUBDIR += lua53 SUBDIR += luajit SUBDIR += malbolge SUBDIR += maude SUBDIR += mawk SUBDIR += mdk SUBDIR += micropython SUBDIR += mit-scheme SUBDIR += mixal SUBDIR += mlton SUBDIR += mmix SUBDIR += modula3 SUBDIR += mono SUBDIR += mono-basic SUBDIR += mosh SUBDIR += mosml SUBDIR += mtasc SUBDIR += munger SUBDIR += nawk SUBDIR += nbc SUBDIR += nbfc SUBDIR += nesasm SUBDIR += newlisp SUBDIR += newlisp-devel SUBDIR += nhc98 SUBDIR += nickle SUBDIR += nim SUBDIR += nml SUBDIR += nqc SUBDIR += nwcc SUBDIR += nx SUBDIR += ocaml SUBDIR += ocaml-autoconf SUBDIR += ocaml-nox11 SUBDIR += ofc SUBDIR += ohugs SUBDIR += onyx SUBDIR += oo2c SUBDIR += opendylan SUBDIR += p2c SUBDIR += p5-Data-JavaScript SUBDIR += p5-Error SUBDIR += p5-Expect SUBDIR += p5-ExtUtils-F77 SUBDIR += p5-Interpolation SUBDIR += p5-JSAN SUBDIR += p5-JavaScript-SpiderMonkey SUBDIR += p5-JavaScript-Squish SUBDIR += p5-JavaScript-Value-Escape SUBDIR += p5-List-MoreUtils SUBDIR += p5-Marpa SUBDIR += p5-Marpa-PP SUBDIR += p5-Marpa-XS SUBDIR += p5-Modern-Perl SUBDIR += p5-Parse-Perl SUBDIR += p5-Perl6-Subs SUBDIR += p5-Promises SUBDIR += p5-Pugs-Compiler-Rule SUBDIR += p5-Quantum-Superpositions SUBDIR += p5-Scalar-List-Utils SUBDIR += p5-Switch SUBDIR += p5-Tcl SUBDIR += p5-Test-XPath SUBDIR += p5-Try-Catch SUBDIR += p5-Try-Tiny SUBDIR += p5-Try-Tiny-Retry SUBDIR += p5-TryCatch SUBDIR += p5-ePerl SUBDIR += p5-signatures SUBDIR += p5-v6 SUBDIR += parrot SUBDIR += pbasic SUBDIR += pcc SUBDIR += pecl-perl SUBDIR += perl5-devel SUBDIR += perl5.18 SUBDIR += perl5.20 SUBDIR += perl5.22 SUBDIR += perl5.24 SUBDIR += petite-chez SUBDIR += pfe SUBDIR += phantomjs SUBDIR += pharo SUBDIR += phc SUBDIR += php-mode.el SUBDIR += php55 SUBDIR += php55-extensions SUBDIR += php56 SUBDIR += php56-extensions SUBDIR += php70 SUBDIR += php70-extensions SUBDIR += php_doc SUBDIR += picoc SUBDIR += pike78 SUBDIR += polyml SUBDIR += ptoc SUBDIR += pure SUBDIR += py-clojure SUBDIR += py-mx-base SUBDIR += py-prolog SUBDIR += py-qt5-qml SUBDIR += pypy SUBDIR += pypy3-devel SUBDIR += python SUBDIR += python-doc-html SUBDIR += python-doc-pdf-a4 SUBDIR += python-doc-pdf-letter SUBDIR += python-doc-text SUBDIR += python-mode.el SUBDIR += python-tools SUBDIR += python2 SUBDIR += python27 SUBDIR += python3 SUBDIR += python33 SUBDIR += python34 SUBDIR += python35 SUBDIR += qore SUBDIR += qscheme SUBDIR += qt5-qml SUBDIR += quack SUBDIR += racket SUBDIR += racket-minimal SUBDIR += ratfor SUBDIR += rexx-imc SUBDIR += rexx-regina SUBDIR += rexx-regutil SUBDIR += rexx-wrapper SUBDIR += rhino SUBDIR += rubinius SUBDIR += ruby20 SUBDIR += ruby21 SUBDIR += ruby22 SUBDIR += ruby23 SUBDIR += runawk SUBDIR += rust SUBDIR += rust-nightly SUBDIR += s9fes SUBDIR += sagittarius-scheme SUBDIR += sather-specification SUBDIR += sather-tutorial SUBDIR += sbcl SUBDIR += scala SUBDIR += scala-docs SUBDIR += scheme48 SUBDIR += scm SUBDIR += sdcc SUBDIR += sdcc-devel SUBDIR += see SUBDIR += seed7 SUBDIR += siod SUBDIR += sisc SUBDIR += sketchy SUBDIR += slib SUBDIR += slib-guile SUBDIR += slib-guile2 SUBDIR += slisp SUBDIR += smalltalk SUBDIR += smlnj SUBDIR += snobol4 SUBDIR += spark SUBDIR += spidermonkey17 SUBDIR += spidermonkey170 SUBDIR += spidermonkey185 SUBDIR += spidermonkey24 SUBDIR += spl SUBDIR += squeak SUBDIR += squirrel SUBDIR += stalin SUBDIR += starlogo SUBDIR += stldoc SUBDIR += swi-pl + SUBDIR += swift SUBDIR += tcbasic SUBDIR += tcc SUBDIR += tcl-manual SUBDIR += tcl-wrapper SUBDIR += tcl84 SUBDIR += tcl85 SUBDIR += tcl86 SUBDIR += tclX SUBDIR += tinypy SUBDIR += tolua SUBDIR += tolua++ SUBDIR += tuareg-mode.el SUBDIR += twelf SUBDIR += ucc SUBDIR += urweb SUBDIR += v8 SUBDIR += v8-devel SUBDIR += vala SUBDIR += visualworks SUBDIR += whitespace SUBDIR += x10 SUBDIR += yabasic SUBDIR += yap SUBDIR += yap-devel SUBDIR += yorick SUBDIR += ypsilon .include Index: head/lang/swift/Makefile =================================================================== --- head/lang/swift/Makefile (nonexistent) +++ head/lang/swift/Makefile (revision 415317) @@ -0,0 +1,112 @@ +# $FreeBSD$ + +PORTNAME= swift +PORTVERSION= 2.2 +CATEGORIES= lang + +MAINTAINER= swills@FreeBSD.org +COMMENT= Swift programing language + +LICENSE= APACHE20 +LICENSE_FILE= ${WRKSRC}/swift/LICENSE.txt + +BUILD_DEPENDS= cmake:devel/cmake \ + bash:shells/bash \ + swig:devel/swig13 \ + python:lang/python \ + sphinx-build:textproc/py-sphinx \ + binutils>=2.25.1:devel/binutils +LIB_DEPENDS= libicudata.so:devel/icu \ + libuuid.so:misc/e2fsprogs-libuuid + +USE_GITHUB= yes +GH_ACCOUNT= apple:DEFAULT,llvm,clang,lldb,cmark,llbuild,swiftpm,xctest,xcfound +GH_PROJECT= swift:DEFAULT swift-llvm:llvm swift-clang:clang swift-lldb:lldb \ + swift-cmark:cmark swift-llbuild:llbuild swift-package-manager:swiftpm \ + swift-corelibs-xctest:xctest swift-corelibs-foundation:xcfound +GH_TAGNAME= swift-2.2-RELEASE:DEFAULT,llvm,clang,lldb,cmark \ + swift-DEVELOPMENT-SNAPSHOT-2016-03-16-a:llbuild,swiftpm,xctest,xcfound + +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} +USES= iconv libedit ninja perl5 pkgconfig python:3,build sqlite + +USE_GNOME= libxml2 +USE_LDCONFIG= yes +ONLY_FOR_ARCHS= amd64 +CONFLICTS_BUILD= googletest + +OPTIONS_DEFINE= DOCS + +PORTDOCS= * + +.include + +.if ${OPSYS} == FreeBSD +.if (${OSVERSION} < 1002000) || (${OSVERSION} < 1100079) +BUILD_DEPENDS+= clang38:devel/llvm38 +EXTRA_FLAGS= --host-cc=${LOCALBASE}/bin/clang38 --host-cxx=${LOCALBASE}/bin/clang++38 +.endif +.if (${OSVERSION} < 1001513) +BROKEN= Does not build +.endif +.endif + +post-extract: + @${MKDIR} ${WRKSRC} + @${MV} ${WRKDIR}/${PORTNAME}-${PORTNAME}-${PORTVERSION}-RELEASE ${WRKSRC}/swift + @${MV} ${WRKSRC_llvm} ${WRKSRC}/llvm + @${MV} ${WRKSRC_clang} ${WRKSRC}/clang + @${MV} ${WRKSRC_lldb} ${WRKSRC}/lldb + @${MV} ${WRKSRC_cmark} ${WRKSRC}/cmark + @${MV} ${WRKSRC_llbuild} ${WRKSRC}/llbuild + @${MV} ${WRKSRC_swiftpm} ${WRKSRC}/swiftpm + @${MV} ${WRKSRC_xctest} ${WRKSRC}/swift-corelibs-xctest + @${MV} ${WRKSRC_xcfound} ${WRKSRC}/swift-corelibs-foundation + +post-patch: + @${REINPLACE_CMD} -e 's|%%LOCALBASE%%|${LOCALBASE}|g' \ + ${WRKSRC}/swift/cmake/modules/SwiftSharedCMakeConfig.cmake + +do-build: + @${MKDIR} ${STAGEDIR}${PREFIX} + cd ${WRKSRC}/swift; ${SETENV} PATH=${LOCALBASE}/bin:${PATH} \ + CPPFLAGS="-I${LOCALBASE}/include ${CPPFLAGS}" \ + CFLAGS="-I${LOCALBASE}/include ${CFLAGS}" \ + CXXFLAGS="-I${LOCALBASE}/include ${CXXFLAGS}" \ + LDFLAGS='-B${LOCALBASE}/bin -fuse-ld=bfd' \ + install_destdir=${STAGEDIR} \ + ./utils/build-script -R --no-assertions \ + --llbuild \ + -- \ + ${EXTRA_FLAGS} \ + --verbose-build \ + --swift-runtime-enable-dtrace \ + --install-swift \ + --install-llbuild \ + --install_prefix=${PREFIX} \ + --install_destdir=${STAGEDIR} \ + --swift-install-components='compiler;clang-builtin-headers;stdlib;sdk-overlay;license;tools;editor-integration' \ + --build-swift-static-stdlib=1 \ + --skip-test-lldb=1 + @${RM} /var/run/libuuid/clock.txt /var/run/libuuid/request /var/run/libuuid/uuidd.pid + +do-install: + ${MV} ${STAGEDIR}${PREFIX}/share/man/man1/swift.1 ${STAGEDIR}${PREFIX}/man/man1/swift.1 + ${RM} -r ${STAGEDIR}${PREFIX}/share/man + ${GZIP_CMD} ${STAGEDIR}${PREFIX}/man/man1/swift.1 + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/swift/freebsd/libswiftGlibc.so + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/swift/freebsd/libswiftCore.so + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/swift-compress + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/sil-extract + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/swift-ide-test + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/swift-llvm-opt + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/swift-build-tool + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/swift + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/swift-demangle + ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/sil-opt + +do-install-DOCS-on: + cd ${WRKSRC}/build/Ninja-Release/swift-freebsd-x86_64/docs/html ; \ + ${COPYTREE_SHARE} . ${STAGEDIR}${DOCSDIR} + +.include Property changes on: head/lang/swift/Makefile ___________________________________________________________________ Added: svn:eol-style ## -0,0 +1 ## +native \ No newline at end of property Added: svn:keywords ## -0,0 +1 ## +FreeBSD=%H \ No newline at end of property Added: svn:mime-type ## -0,0 +1 ## +text/plain \ No newline at end of property Index: head/lang/swift/distinfo =================================================================== --- head/lang/swift/distinfo (nonexistent) +++ head/lang/swift/distinfo (revision 415317) @@ -0,0 +1,18 @@ +SHA256 (apple-swift-2.2-swift-2.2-RELEASE_GH0.tar.gz) = 6dfb9de14201b9804974b1f221573cfb3e24fd657ec3bf132bf3c75de02565f5 +SIZE (apple-swift-2.2-swift-2.2-RELEASE_GH0.tar.gz) = 8425866 +SHA256 (apple-swift-llvm-swift-2.2-RELEASE_GH0.tar.gz) = b975b816773aa9d888a9139f51acd1b57fd58959bb391f8f65645a2f9b6d4cc4 +SIZE (apple-swift-llvm-swift-2.2-RELEASE_GH0.tar.gz) = 22556064 +SHA256 (apple-swift-clang-swift-2.2-RELEASE_GH0.tar.gz) = ba9220e61971a55d13f501dc30f452a5c272e4d897b444a5220f2e23dbbfc2f8 +SIZE (apple-swift-clang-swift-2.2-RELEASE_GH0.tar.gz) = 12994360 +SHA256 (apple-swift-lldb-swift-2.2-RELEASE_GH0.tar.gz) = b562fee1963900c86fed016408e3acbb63500a3603f4af70928c11ce376b9a72 +SIZE (apple-swift-lldb-swift-2.2-RELEASE_GH0.tar.gz) = 14215846 +SHA256 (apple-swift-cmark-swift-2.2-RELEASE_GH0.tar.gz) = 09c8da18c37f32cd0eb82b252a172481f5403c1bc6ab5740f92e87f8d1e79991 +SIZE (apple-swift-cmark-swift-2.2-RELEASE_GH0.tar.gz) = 214423 +SHA256 (apple-swift-llbuild-swift-DEVELOPMENT-SNAPSHOT-2016-03-16-a_GH0.tar.gz) = c146c9475e646de3bc9644a951c3067440b352fe8d23de59e9d8793e13c6c224 +SIZE (apple-swift-llbuild-swift-DEVELOPMENT-SNAPSHOT-2016-03-16-a_GH0.tar.gz) = 4708201 +SHA256 (apple-swift-package-manager-swift-DEVELOPMENT-SNAPSHOT-2016-03-16-a_GH0.tar.gz) = 5833e69d4d158949a9b4986eced73806e10d597ebb5db8549ba3c7962d6f3c32 +SIZE (apple-swift-package-manager-swift-DEVELOPMENT-SNAPSHOT-2016-03-16-a_GH0.tar.gz) = 118190 +SHA256 (apple-swift-corelibs-xctest-swift-DEVELOPMENT-SNAPSHOT-2016-03-16-a_GH0.tar.gz) = 65e3ef58877c8bbec926177a6d7ce790de98cf76cabb808a46a735e6945554d6 +SIZE (apple-swift-corelibs-xctest-swift-DEVELOPMENT-SNAPSHOT-2016-03-16-a_GH0.tar.gz) = 31103 +SHA256 (apple-swift-corelibs-foundation-swift-DEVELOPMENT-SNAPSHOT-2016-03-16-a_GH0.tar.gz) = 2ef008a1fd32b9d1c34eb242c7a13569e1f2e83ef127a964260b1cfcee6f82e3 +SIZE (apple-swift-corelibs-foundation-swift-DEVELOPMENT-SNAPSHOT-2016-03-16-a_GH0.tar.gz) = 2436196 Property changes on: head/lang/swift/distinfo ___________________________________________________________________ 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: head/lang/swift/files/patch-llbuild_CMakeLists.txt =================================================================== --- head/lang/swift/files/patch-llbuild_CMakeLists.txt (nonexistent) +++ head/lang/swift/files/patch-llbuild_CMakeLists.txt (revision 415317) @@ -0,0 +1,11 @@ +--- llbuild/CMakeLists.txt.orig 2016-03-15 20:15:59 UTC ++++ llbuild/CMakeLists.txt +@@ -128,7 +128,7 @@ else () + endif () + + # On Linux, always build with PIC. +-if(${CMAKE_SYSTEM_NAME} MATCHES "Linux") ++if(${CMAKE_SYSTEM_NAME} MATCHES "Linux" OR ${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD") + set(CMAKE_C_FLAGS "${CMAKE_C_FLAGS} -fPIC") + set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -fPIC") + endif () Property changes on: head/lang/swift/files/patch-llbuild_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: head/lang/swift/files/patch-llbuild_lib_llvm_Support_CMakeLists.txt =================================================================== --- head/lang/swift/files/patch-llbuild_lib_llvm_Support_CMakeLists.txt (nonexistent) +++ head/lang/swift/files/patch-llbuild_lib_llvm_Support_CMakeLists.txt (revision 415317) @@ -0,0 +1,10 @@ +--- llbuild/lib/llvm/Support/CMakeLists.txt.orig 2016-03-15 20:15:59 UTC ++++ llbuild/lib/llvm/Support/CMakeLists.txt +@@ -41,3 +41,7 @@ raw_ostream.cpp + if(${CMAKE_SYSTEM_NAME} MATCHES "Linux") + target_link_libraries(llvmSupport pthread dl) + endif() ++ ++if(${CMAKE_SYSTEM_NAME} MATCHES "FreeBSD") ++ target_link_libraries(llvmSupport pthread execinfo) ++endif() Property changes on: head/lang/swift/files/patch-llbuild_lib_llvm_Support_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: head/lang/swift/files/patch-llbuild_lib_llvm_Support_Unix_Process.inc =================================================================== --- head/lang/swift/files/patch-llbuild_lib_llvm_Support_Unix_Process.inc (nonexistent) +++ head/lang/swift/files/patch-llbuild_lib_llvm_Support_Unix_Process.inc (revision 415317) @@ -0,0 +1,11 @@ +--- llbuild/lib/llvm/Support/Unix/Process.inc.orig 2016-03-15 20:15:59 UTC ++++ llbuild/lib/llvm/Support/Unix/Process.inc +@@ -36,7 +36,7 @@ + // DragonFlyBSD, OpenBSD, and Bitrig have deprecated for + // instead. Unix.h includes this for us already. + #if defined(HAVE_MALLOC_H) && !defined(__DragonFly__) && \ +- !defined(__OpenBSD__) && !defined(__Bitrig__) ++ !defined(__OpenBSD__) && !defined(__Bitrig__) && !defined(__FreeBSD__) + #include + #endif + #if defined(HAVE_MALLCTL) Property changes on: head/lang/swift/files/patch-llbuild_lib_llvm_Support_Unix_Process.inc ___________________________________________________________________ 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: head/lang/swift/files/patch-llvm_lib_Support_Unix_Process.inc =================================================================== --- head/lang/swift/files/patch-llvm_lib_Support_Unix_Process.inc (nonexistent) +++ head/lang/swift/files/patch-llvm_lib_Support_Unix_Process.inc (revision 415317) @@ -0,0 +1,11 @@ +--- llvm/lib/Support/Unix/Process.inc.orig 2016-02-26 00:51:43 UTC ++++ llvm/lib/Support/Unix/Process.inc +@@ -36,7 +36,7 @@ + // DragonFlyBSD, OpenBSD, and Bitrig have deprecated for + // instead. Unix.h includes this for us already. + #if defined(HAVE_MALLOC_H) && !defined(__DragonFly__) && \ +- !defined(__OpenBSD__) && !defined(__Bitrig__) ++ !defined(__OpenBSD__) && !defined(__Bitrig__) && !defined(__FreeBSD__) + #include + #endif + #if defined(HAVE_MALLCTL) Property changes on: head/lang/swift/files/patch-llvm_lib_Support_Unix_Process.inc ___________________________________________________________________ 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: head/lang/swift/files/patch-swift_cmake_modules_SwiftSharedCMakeConfig.cmake =================================================================== --- head/lang/swift/files/patch-swift_cmake_modules_SwiftSharedCMakeConfig.cmake (nonexistent) +++ head/lang/swift/files/patch-swift_cmake_modules_SwiftSharedCMakeConfig.cmake (revision 415317) @@ -0,0 +1,20 @@ +--- swift/cmake/modules/SwiftSharedCMakeConfig.cmake.orig 2016-03-21 17:35:26 UTC ++++ swift/cmake/modules/SwiftSharedCMakeConfig.cmake +@@ -236,7 +236,8 @@ macro(swift_common_standalone_build_conf + set(CMARK_BUILD_INCLUDE_DIR "${PATH_TO_CMARK_BUILD}/src") + + set(CMAKE_INCLUDE_CURRENT_DIR ON) +- include_directories("${PATH_TO_LLVM_BUILD}/include" ++ include_directories("/usr/local/include" ++ "${PATH_TO_LLVM_BUILD}/include" + "${LLVM_MAIN_INCLUDE_DIR}" + "${CLANG_BUILD_INCLUDE_DIR}" + "${CLANG_MAIN_INCLUDE_DIR}" +@@ -244,6 +245,7 @@ macro(swift_common_standalone_build_conf + "${CMARK_BUILD_INCLUDE_DIR}") + + link_directories( ++ "/usr/local/lib" + "${LLVM_LIBRARY_DIR}" + # FIXME: if we want to support separate Clang builds and mix different + # build configurations of Clang and Swift, this line should be adjusted. Property changes on: head/lang/swift/files/patch-swift_cmake_modules_SwiftSharedCMakeConfig.cmake ___________________________________________________________________ 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: head/lang/swift/files/patch-swift_docs_CMakeLists.txt =================================================================== --- head/lang/swift/files/patch-swift_docs_CMakeLists.txt (nonexistent) +++ head/lang/swift/files/patch-swift_docs_CMakeLists.txt (revision 415317) @@ -0,0 +1,10 @@ +--- swift/docs/CMakeLists.txt.orig 2016-03-21 17:35:26 UTC ++++ swift/docs/CMakeLists.txt +@@ -10,7 +10,6 @@ SET(SWIFT_SPHINX_PAPER_SIZE "letter" + CACHE STRING "Paper size for generated documentation") + + SET(SPHINX_ARGS +- -W + -D latex_paper_size=${SWIFT_SPHINX_PAPER_SIZE} + -d ${CMAKE_BINARY_DIR}/doctrees) + Property changes on: head/lang/swift/files/patch-swift_docs_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: head/lang/swift/files/patch-swift_lib_ClangImporter_ClangImporter.cpp =================================================================== --- head/lang/swift/files/patch-swift_lib_ClangImporter_ClangImporter.cpp (nonexistent) +++ head/lang/swift/files/patch-swift_lib_ClangImporter_ClangImporter.cpp (revision 415317) @@ -0,0 +1,20 @@ +--- swift/lib/ClangImporter/ClangImporter.cpp.orig 2016-03-21 17:35:26 UTC ++++ swift/lib/ClangImporter/ClangImporter.cpp +@@ -332,7 +332,7 @@ getNormalInvocationArguments(std::vector + // not import Objective-C modules. + // + // Just use the most feature-rich C language mode. +- "-x", "c", "-std=gnu11", ++ "-x", "c", "-std=gnu11", "-I/usr/include" + }); + } + +@@ -376,7 +376,7 @@ getNormalInvocationArguments(std::vector + } else { + // On Darwin, Clang uses -isysroot to specify the include + // system root. On other targets, it seems to use --sysroot. +- if (triple.isOSDarwin()) { ++ if (triple.isOSDarwin() || triple.isOSFreeBSD()) { + invocationArgStrs.push_back("-isysroot"); + } else { + invocationArgStrs.push_back("--sysroot"); Property changes on: head/lang/swift/files/patch-swift_lib_ClangImporter_ClangImporter.cpp ___________________________________________________________________ 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: head/lang/swift/files/patch-swiftpm_Sources_PackageDescription_Package.swift =================================================================== --- head/lang/swift/files/patch-swiftpm_Sources_PackageDescription_Package.swift (nonexistent) +++ head/lang/swift/files/patch-swiftpm_Sources_PackageDescription_Package.swift (revision 415317) @@ -0,0 +1,11 @@ +--- swiftpm/Sources/PackageDescription/Package.swift.orig 2016-03-16 18:28:14 UTC ++++ swiftpm/Sources/PackageDescription/Package.swift +@@ -10,6 +10,8 @@ + + #if os(Linux) + import Glibc ++#elseif os(FreeBSD) ++import Glibc + #else + import Darwin.C + #endif Property changes on: head/lang/swift/files/patch-swiftpm_Sources_PackageDescription_Package.swift ___________________________________________________________________ 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: head/lang/swift/files/patch-swiftpm_Sources_libc_libc.swift =================================================================== --- head/lang/swift/files/patch-swiftpm_Sources_libc_libc.swift (nonexistent) +++ head/lang/swift/files/patch-swiftpm_Sources_libc_libc.swift (revision 415317) @@ -0,0 +1,11 @@ +--- swiftpm/Sources/libc/libc.swift.orig 2016-03-16 18:28:14 UTC ++++ swiftpm/Sources/libc/libc.swift +@@ -10,6 +10,8 @@ + + #if os(Linux) + @_exported import Glibc ++#elseif os(FreeBSD) ++@_exported import Glibc + #else + @_exported import Darwin.C + #endif Property changes on: head/lang/swift/files/patch-swiftpm_Sources_libc_libc.swift ___________________________________________________________________ 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: head/lang/swift/pkg-descr =================================================================== --- head/lang/swift/pkg-descr (nonexistent) +++ head/lang/swift/pkg-descr (revision 415317) @@ -0,0 +1,3 @@ +The Swift Programming Language + +WWW: https://swift.org/ Property changes on: head/lang/swift/pkg-descr ___________________________________________________________________ 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: head/lang/swift/pkg-plist =================================================================== --- head/lang/swift/pkg-plist (nonexistent) +++ head/lang/swift/pkg-plist (revision 415317) @@ -0,0 +1,116 @@ +bin/sil-extract +bin/sil-opt +bin/swift +bin/swift-compress +bin/swift-demangle +bin/swift-ide-test +bin/swift-llvm-opt +bin/swiftc +bin/swift-build-tool +lib/swift/clang/include/Intrin.h +lib/swift/clang/include/__stddef_max_align_t.h +lib/swift/clang/include/__wmmintrin_aes.h +lib/swift/clang/include/__wmmintrin_pclmul.h +lib/swift/clang/include/adxintrin.h +lib/swift/clang/include/altivec.h +lib/swift/clang/include/ammintrin.h +lib/swift/clang/include/arm_acle.h +lib/swift/clang/include/arm_neon.h +lib/swift/clang/include/avx2intrin.h +lib/swift/clang/include/avx512bwintrin.h +lib/swift/clang/include/avx512cdintrin.h +lib/swift/clang/include/avx512dqintrin.h +lib/swift/clang/include/avx512erintrin.h +lib/swift/clang/include/avx512fintrin.h +lib/swift/clang/include/avx512vlbwintrin.h +lib/swift/clang/include/avx512vldqintrin.h +lib/swift/clang/include/avx512vlintrin.h +lib/swift/clang/include/avxintrin.h +lib/swift/clang/include/bmi2intrin.h +lib/swift/clang/include/bmiintrin.h +lib/swift/clang/include/cpuid.h +lib/swift/clang/include/cuda_builtin_vars.h +lib/swift/clang/include/emmintrin.h +lib/swift/clang/include/f16cintrin.h +lib/swift/clang/include/float.h +lib/swift/clang/include/fma4intrin.h +lib/swift/clang/include/fmaintrin.h +lib/swift/clang/include/fxsrintrin.h +lib/swift/clang/include/htmintrin.h +lib/swift/clang/include/htmxlintrin.h +lib/swift/clang/include/ia32intrin.h +lib/swift/clang/include/immintrin.h +lib/swift/clang/include/inttypes.h +lib/swift/clang/include/iso646.h +lib/swift/clang/include/limits.h +lib/swift/clang/include/lzcntintrin.h +lib/swift/clang/include/mm3dnow.h +lib/swift/clang/include/mm_malloc.h +lib/swift/clang/include/mmintrin.h +lib/swift/clang/include/module.modulemap +lib/swift/clang/include/nmmintrin.h +lib/swift/clang/include/pmmintrin.h +lib/swift/clang/include/popcntintrin.h +lib/swift/clang/include/prfchwintrin.h +lib/swift/clang/include/rdseedintrin.h +lib/swift/clang/include/rtmintrin.h +lib/swift/clang/include/s390intrin.h +lib/swift/clang/include/shaintrin.h +lib/swift/clang/include/smmintrin.h +lib/swift/clang/include/stdalign.h +lib/swift/clang/include/stdarg.h +lib/swift/clang/include/stdatomic.h +lib/swift/clang/include/stdbool.h +lib/swift/clang/include/stddef.h +lib/swift/clang/include/stdint.h +lib/swift/clang/include/stdnoreturn.h +lib/swift/clang/include/tbmintrin.h +lib/swift/clang/include/tgmath.h +lib/swift/clang/include/tmmintrin.h +lib/swift/clang/include/unwind.h +lib/swift/clang/include/vadefs.h +lib/swift/clang/include/varargs.h +lib/swift/clang/include/vecintrin.h +lib/swift/clang/include/wmmintrin.h +lib/swift/clang/include/x86intrin.h +lib/swift/clang/include/xmmintrin.h +lib/swift/clang/include/xopintrin.h +lib/swift/clang/include/xsavecintrin.h +lib/swift/clang/include/xsaveintrin.h +lib/swift/clang/include/xsaveoptintrin.h +lib/swift/clang/include/xsavesintrin.h +lib/swift/clang/include/xtestintrin.h +lib/swift/freebsd/libswiftCore.so +lib/swift/freebsd/libswiftGlibc.so +lib/swift/freebsd/x86_64/Glibc.swiftdoc +lib/swift/freebsd/x86_64/Glibc.swiftmodule +lib/swift/freebsd/x86_64/Swift.swiftdoc +lib/swift/freebsd/x86_64/Swift.swiftmodule +lib/swift/freebsd/x86_64/swift.ld +lib/swift/glibc/module.map +lib/swift/shims/CoreFoundationShims.h +lib/swift/shims/FoundationShims.h +lib/swift/shims/GlobalObjects.h +lib/swift/shims/HeapObject.h +lib/swift/shims/LibcShims.h +lib/swift/shims/RefCount.h +lib/swift/shims/RuntimeShims.h +lib/swift/shims/RuntimeStubs.h +lib/swift/shims/SwiftStddef.h +lib/swift/shims/SwiftStdint.h +lib/swift/shims/UnicodeShims.h +lib/swift/shims/module.map +lib/swift_static/freebsd/libswiftCore.a +lib/swift_static/freebsd/libswiftGlibc.a +lib/swift_static/freebsd/libswiftRuntime.a +lib/swift_static/freebsd/libswiftStdlibStubs.a +share/emacs/site-lisp/swift-mode.el +man/man1/swift.1.gz +share/vim/vim73/ftdetect/sil.vim +share/vim/vim73/ftdetect/swift.vim +share/vim/vim73/ftdetect/swiftgyb.vim +share/vim/vim73/syntax/sil.vim +share/vim/vim73/syntax/swift.vim +share/vim/vim73/syntax/swiftgyb.vim +%%DATADIR%%/LICENSE.txt +%%PORTDOCS%%%%DOCSDIR%%/.buildinfo Property changes on: head/lang/swift/pkg-plist ___________________________________________________________________ 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