blob: 15386d1ea2895a1ad00e27861f2c7d2b67016adc (
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
|
# $NetBSD: Makefile,v 1.16 2018/12/13 19:51:46 adam Exp $
PKGNAME= ${DISTNAME:S/sqlrelay/sqlrelay-nodejs/}
PKGREVISION= 6
COMMENT= node.js API for SQL Relay
.include "../../databases/sqlrelay/Makefile.common"
USE_LANGUAGES+= c++11
LICENSE= gnu-lgpl-v2
BUILD_DEPENDS+= npm-[0-9]*:../../lang/npm
NODE_VERSIONS_ACCEPTED= 8 6
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 "../../mk/bsd.pkg.mk"
|