blob: 1f05a91162edad175eb609c37c8a38039edf4eaa (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
|
# $NetBSD: Makefile,v 1.34 2022/10/26 10:31:20 wiz Exp $
PKGNAME= ${DISTNAME:S/sqlrelay/sqlrelay-nodejs/}
PKGREVISION= 4
COMMENT= node.js API for SQL Relay
.include "../../databases/sqlrelay/Makefile.common"
USE_LANGUAGES+= gnu++14
LICENSE= gnu-lgpl-v2
BUILD_DEPENDS+= npm-[0-9]*:../../lang/npm
DEPENDS+= http-parser-[0-9]*:../../www/http-parser
NODE_VERSIONS_ACCEPTED= 12 10
CONFIGURE_ARGS+= --with-nodejs-prefix=${BUILDLINK_PREFIX.nodejs}
CONFIGURE_ARGS+= --disable-postgresql
CONFIGURE_ARGS+= --disable-sqlite
CONFIGURE_ARGS+= --disable-freetds
CONFIGURE_ARGS+= --disable-mysql
BUILD_DIRS= src/api/nodejs
# Benign reference inside an object file
CHECK_WRKREF_SKIP+= lib/node_modules/sqlrelay/sqlrelay.node
.include "../../databases/sqlrelay/buildlink3.mk"
.include "../../lang/nodejs/nodeversion.mk"
.include "../../lang/python/tool.mk"
.include "../../net/libcares/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|