ports/databases/gomdb/Makefile
Gerald Pfeifer 89f8b05214 Bump PORTREVISIONS for ports depending on the canonical version of GCC and
lang/gcc which have moved from GCC 4.8.5 to GCC 4.9.4 (at least under some
circumstances such as versions of FreeBSD or platforms).

In particular that is ports with USE_GCC=yes, USE_GCC=any, or one of
gcc-c++11-lib, openmp, nestedfct, c++11-lib as well as c++14-lang,
c++11-lang, c++0x, c11 requested via USES=compiler.
2016-11-20 09:38:08 +00:00

37 lines
615 B
Makefile

# $FreeBSD$
PORTNAME= gomdb
PORTVERSION= 20140824
PORTREVISION= 1
CATEGORIES= databases
MAINTAINER= cheffo@freebsd-bg.org
COMMENT= Go wrapper for LMDB - OpenLDAP Lightning Memory-Mapped Database
LICENSE= BSD3CLAUSE
BUILD_DEPENDS= go:lang/go
ONLY_FOR_ARCHS= i386 amd64
USES= compiler go
USE_GITHUB= yes
GH_ACCOUNT= szferi
GH_TAGNAME= 6bcb5a
.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}
GO_ENV+= ${CONFIGURE_ENV}
.include <bsd.port.post.mk>