summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authorjperkin <jperkin@pkgsrc.org>2014-07-14 10:41:13 +0000
committerjperkin <jperkin@pkgsrc.org>2014-07-14 10:41:13 +0000
commit2dfed2c849fd361edd90e915f837ec8922b4c088 (patch)
tree9251e793978cedad5a93784a7583cbc4a07f2f3e /x11
parentd8bd9a31e1eec616c182064b96d857f84496932f (diff)
downloadpkgsrc-2dfed2c849fd361edd90e915f837ec8922b4c088.tar.gz
SunOS needs -D__EXTENSIONS__ for posix_fallocate().
Diffstat (limited to 'x11')
-rw-r--r--x11/qt5-sqlite3/Makefile4
1 files changed, 3 insertions, 1 deletions
diff --git a/x11/qt5-sqlite3/Makefile b/x11/qt5-sqlite3/Makefile
index 9d577eed998..f1254439e4b 100644
--- a/x11/qt5-sqlite3/Makefile
+++ b/x11/qt5-sqlite3/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.6 2014/04/23 07:05:32 adam Exp $
+# $NetBSD: Makefile,v 1.7 2014/07/14 10:41:13 jperkin Exp $
PKGNAME= qt5-sqlite3-${QTVERSION}
COMMENT= Qt5 SQLite3 plugin
@@ -14,6 +14,8 @@ 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