1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-21 04:06:46 +00:00
freebsd-ports/databases/levigo/Makefile
Gerald Pfeifer e59c88cece Bump PORTREVISION for ports depending on the canonical version of GCC
(via Mk/bsd.default-versions.mk and lang/gcc) which has moved from
GCC 5.4 to GCC 6.4 under most circumstances.

This includes ports
 - with USE_GCC=yes or USE_GCC=any,
 - with USES=fortran,
 - using Mk/bsd.octave.mk which in turn features USES=fortran, and
 - with USES=compiler specifying openmp, nestedfct, c++11-lib, c++11-lang,
   c++14-lang, c++0x, c11, or gcc-c++11-lib.

PR:		219275
2017-09-10 20:55:38 +00:00

40 lines
649 B
Makefile

# $FreeBSD$
PORTNAME= levigo
PORTVERSION= 20150216
PORTREVISION= 3
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>