blob: f1254439e4bef1d2a6dc47e14b6264f1ac7fe259 (
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
|
# $NetBSD: Makefile,v 1.7 2014/07/14 10:41:13 jperkin Exp $
PKGNAME= qt5-sqlite3-${QTVERSION}
COMMENT= Qt5 SQLite3 plugin
.include "../../x11/qt5-qtbase/Makefile.common"
USE_LIBTOOL= yes
CONFIGURE_ARGS+= -I${QTDIR}/include -L${QTDIR}/lib
BUILD_DIRS= qtbase/src/plugins/sqldrivers
MAKE_ENV+= QTDIR=${QTDIR}
INSTALL_ENV+= INSTALL_ROOT=${DESTDIR}
INSTALLATION_DIRS+= lib/pkgconfig qt5/plugins/sqldrivers
CFLAGS.SunOS+= -D__EXTENSIONS__ # posix_fallocate()
post-configure:
cd ${WRKSRC}/${BUILD_DIRS} && \
${QTDIR}/bin/qmake "sql-plugins=sqlite" -o Makefile
do-install:
${LIBTOOL} --mode=install ${INSTALL_PROGRAM} \
${WRKSRC}/qtbase/plugins/sqldrivers/libqsqlite.la \
${DESTDIR}${QTPREFIX}/plugins/sqldrivers
.include "../../databases/sqlite3/buildlink3.mk"
.include "../../x11/qt5-qtbase/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
|