04d6f52202
lang/gcc which have moved from GCC 4.9.4 to GCC 5.4 (at least under some circumstances such as versions of FreeBSD or platforms). This includes ports - with USE_GCC=yes or USE_GCC=any, - with USES=fortran, - using using Mk/bsd.octave.mk which in turn has USES=fortran, and - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++14-lang, c++11-lang, c++0x, c11, or gcc-c++11-lib. PR: 216707
40 lines
649 B
Makefile
40 lines
649 B
Makefile
# $FreeBSD$
|
|
|
|
PORTNAME= levigo
|
|
PORTVERSION= 20150216
|
|
PORTREVISION= 2
|
|
CATEGORIES= databases
|
|
|
|
MAINTAINER= cheffo@freebsd-bg.org
|
|
COMMENT= Levigo is a Go wrapper for LevelDB
|
|
|
|
LICENSE= MIT
|
|
|
|
BUILD_DEPENDS= go:lang/go
|
|
LIB_DEPENDS= libleveldb.so:databases/leveldb
|
|
|
|
ONLY_FOR_ARCHS= i386 amd64
|
|
|
|
USES= compiler go
|
|
|
|
USE_GITHUB= yes
|
|
GH_ACCOUNT= jmhodges
|
|
GH_TAGNAME= 1ddad808d4
|
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
# Build fails on FreeBSD10+ if value of "CC" is not set to "clang"
|
|
# (checked by configure)
|
|
|
|
.if ${COMPILER_TYPE} == clang
|
|
CC= clang
|
|
.else
|
|
USE_GCC= yes
|
|
.endif
|
|
|
|
CONFIGURE_ENV+= CC=${CC} \
|
|
CXX=${CXX}
|
|
GO_ENV+= ${CONFIGURE_ENV}
|
|
|
|
.include <bsd.port.post.mk>
|