Date: Thu, 5 Jan 2017 10:41:09 -0600 From: John Marino <freebsd.contact@marino.st> To: Li-Wen Hsu <lwhsu@FreeBSD.org>, ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: Re: svn commit: r428982 - in head/lang: . julia julia/files Message-ID: <116d58cf-0baf-4da6-f911-b5e980c1bb0e@marino.st> In-Reply-To: <201612200930.uBK9UPeP080203@repo.freebsd.org> References: <201612200930.uBK9UPeP080203@repo.freebsd.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 12/20/2016 03:30, Li-Wen Hsu wrote: > Author: lwhsu > Date: Tue Dec 20 09:30:25 2016 > New Revision: 428982 > URL: https://svnweb.freebsd.org/changeset/ports/428982 > > Log: > - Add lang/julia, Julia Language: A fresh approach to technical computing > > PR: 215297 > Submitted by: Iblis Lin <iblis@hs.ntnu.edu.tw> > > Added: head/lang/julia/Makefile > ============================================================================== > --- /dev/null 00:00:00 1970 (empty, because file is newly added) > +++ head/lang/julia/Makefile Tue Dec 20 09:30:25 2016 (r428982) > @@ -0,0 +1,73 @@ > +# Created by: Iblis Lin <iblis@hs.ntnu.edu.tw> > +# $FreeBSD$ > + > +PORTNAME= julia > +PORTVERSION= 0.5.0 > +DISTVERSIONSUFFIX= -full > +CATEGORIES= lang math > +MASTER_SITES= https://github.com/JuliaLang/julia/releases/download/v${PORTVERSION}/ > + > +MAINTAINER= iblis@hs.ntnu.edu.tw > +COMMENT= Julia Language: A fresh approach to technical computing > + > +LICENSE= MIT > +LICENSE_FILE= ${WRKSRC}/LICENSE.md > + > +LIB_DEPENDS= libunwind.so:devel/libunwind \ > + libutf8proc.so:textproc/utf8proc \ > + libopenblas.so:math/openblas \ > + libgit2.so:devel/libgit2 \ > + libgmp.so:math/gmp \ > + libmpfr.so:math/mpfr > +BUILD_DEPENDS= llvm-config38:devel/llvm38 \ > + pcre2-config:devel/pcre2 \ > + patchelf:sysutils/patchelf > + > +ONLY_FOR_ARCHS= amd64 > + > +USES= gmake compiler:c++11-lib fortran > +USE_LDCONFIG= yes > + > +WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} > + > +ALL_TARGET= default > +INSTALL_TARGET= install > +TEST_TARGET= test > + > +CXXFLAGS+= -stdlib=libc++ -std=c++11 Note that this line ^^ is specific to clang. By using these flags unconditionally, no LANG/GCC* compiler can be used. I wonder if USES=compiler flags should be used instead? At least a compiler check is probably in order. John --- This email has been checked for viruses by Avast antivirus software. https://www.avast.com/antivirus
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?116d58cf-0baf-4da6-f911-b5e980c1bb0e>