summaryrefslogtreecommitdiff
path: root/databases
diff options
context:
space:
mode:
authorMathieu Arnold <mat@FreeBSD.org>2016-04-22 12:40:04 +0000
committerMathieu Arnold <mat@FreeBSD.org>2016-04-22 12:40:04 +0000
commit5d7b880ff05897ffe683dc906c98a0fbccfefe95 (patch)
tree368b672d684456fd3d707cabe51d0c42518857db /databases
parent4719a9a192fd826a4f21df5bf321a22a9ded6ea2 (diff)
Notes
Diffstat (limited to 'databases')
-rw-r--r--databases/godis/Makefile5
-rw-r--r--databases/gomdb/Makefile3
-rw-r--r--databases/gosqlite3/Makefile5
-rw-r--r--databases/levigo/Makefile3
-rw-r--r--databases/redigo/Makefile5
5 files changed, 9 insertions, 12 deletions
diff --git a/databases/godis/Makefile b/databases/godis/Makefile
index 9f79aca1c21a..ea44e938b97a 100644
--- a/databases/godis/Makefile
+++ b/databases/godis/Makefile
@@ -10,11 +10,10 @@ MASTER_SITES= LOCAL/jlaffaye
MAINTAINER= ports@FreeBSD.org
COMMENT= Redis client library written in Go
+USES= go
GO_PKGNAME= github.com/simonz05/${PORTNAME}
pre-install:
@${RM} ${WRKSRC}/fmt.sh
-.include <bsd.port.pre.mk>
-.include "${PORTSDIR}/lang/go/files/bsd.go.mk"
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>
diff --git a/databases/gomdb/Makefile b/databases/gomdb/Makefile
index 2fe4d651c61c..bff849b31ee3 100644
--- a/databases/gomdb/Makefile
+++ b/databases/gomdb/Makefile
@@ -13,7 +13,7 @@ BUILD_DEPENDS= go:lang/go
ONLY_FOR_ARCHS= i386 amd64
-USES= compiler
+USES= compiler go
USE_GITHUB= yes
GH_ACCOUNT= szferi
@@ -32,5 +32,4 @@ USE_GCC= yes
CONFIGURE_ENV+= CC=${CC}
GO_ENV+= ${CONFIGURE_ENV}
-.include "${PORTSDIR}/lang/go/files/bsd.go.mk"
.include <bsd.port.post.mk>
diff --git a/databases/gosqlite3/Makefile b/databases/gosqlite3/Makefile
index 3c631e307692..4adc16cd4d97 100644
--- a/databases/gosqlite3/Makefile
+++ b/databases/gosqlite3/Makefile
@@ -10,15 +10,16 @@ MASTER_SITES= LOCAL/jlaffaye
MAINTAINER= lichray@gmail.com
COMMENT= Go interface for SQLite3
-USES= compiler
+USES= compiler go
LIB_DEPENDS+= libsqlite3.so:databases/sqlite3
GO_PKGNAME= github.com/kuroneko/${PORTNAME}
.include <bsd.port.pre.mk>
-.include "${PORTSDIR}/lang/go/files/bsd.go.mk"
+
.if ${COMPILER_TYPE} == clang && ${CC} == cc
CC= clang
.endif
+
.include <bsd.port.post.mk>
diff --git a/databases/levigo/Makefile b/databases/levigo/Makefile
index 4df752a45d9b..83f918fd70d7 100644
--- a/databases/levigo/Makefile
+++ b/databases/levigo/Makefile
@@ -14,7 +14,7 @@ LIB_DEPENDS= libleveldb.so:databases/leveldb
ONLY_FOR_ARCHS= i386 amd64
-USES= compiler
+USES= compiler go
USE_GITHUB= yes
GH_ACCOUNT= jmhodges
@@ -35,5 +35,4 @@ CONFIGURE_ENV+= CC=${CC} \
CXX=${CXX}
GO_ENV+= ${CONFIGURE_ENV}
-.include "${PORTSDIR}/lang/go/files/bsd.go.mk"
.include <bsd.port.post.mk>
diff --git a/databases/redigo/Makefile b/databases/redigo/Makefile
index 8ea214ec04dd..9871be037dba 100644
--- a/databases/redigo/Makefile
+++ b/databases/redigo/Makefile
@@ -10,8 +10,7 @@ MAINTAINER= ports@FreeBSD.org
COMMENT= Go client for the Redis database
WRKSRC= ${WRKDIR}/${DISTNAME}/redis
+USES= go
GO_PKGNAME= github.com/garyburd/${PORTNAME}/redis
-.include <bsd.port.pre.mk>
-.include "${PORTSDIR}/lang/go/files/bsd.go.mk"
-.include <bsd.port.post.mk>
+.include <bsd.port.mk>