Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 03 Mar 2015 06:47:46 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-ports-bugs@FreeBSD.org
Subject:   [Bug 194986] [New port] databases/levygo
Message-ID:  <bug-194986-13-TK3ldKG4ND@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-194986-13@https.bugs.freebsd.org/bugzilla/>
References:  <bug-194986-13@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=194986

--- Comment #9 from cheffo@freebsd-bg.org ---
The only way to compile this port on FreeBSD with clang is to set CC=clang
The port system do not se this properly (I have no idea why) but grep other
ports and you will see that this is how people address this issue. If CC=clang
is not set in the environment the build faild miserably with criptic error.

So what is the right way to "guess" CC and set it for GO ENV and to get the
port working with clang?

P.S. See https://github.com/szferi/gomdb :

Build
go get github.com/szferi/gomdb

There is no dependency on LMDB dynamic library.

On FreeBSD 10, you must explicitly set CC (otherwise it will fail with a
cryptic error), for example:

CC=clang go test -v

As I said our go support is not great so I'm trying to workaround known issues.

-- 
You are receiving this mail because:
You are the assignee for the bug.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-194986-13-TK3ldKG4ND>