sthen 9c0d186099 add a comment next to BROKEN-aarch64 to suggest trying removing it with the
next update, hopefully vendored libs will be updated by then
2020-04-17 23:59:50 +00:00

34 lines
622 B
Makefile

# $OpenBSD: Makefile,v 1.3 2020/04/17 23:59:50 sthen Exp $
BROKEN-aarch64 = port/atomics/arch-arm.h file not found
# try removing above with next update
COMMENT = create type safe go from SQL
V = 1.1.0
DISTNAME = sqlc-${V}
CATEGORIES = devel
MAINTAINER = Aaron Bieber <abieber@openbsd.org>
# MIT
PERMIT_PACKAGE = Yes
WANTLIB += c pthread
MASTER_SITES = https://deftly.net/dist/
MODULES = lang/go
MODGO_LDFLAGS = -X "github.com/kyleconroy/sqlc/internal/cmd.version=${V}"
ALL_TARGET = github.com/kyleconroy/sqlc
NO_TEST = Yes
do-build:
cd ${WRKSRC} && \
${MODGO_BUILD_CMD} ./cmd/sqlc
.include <bsd.port.mk>