blob: 0d9c00cfe0076fa32c0e96815a6a88c7ee276895 (
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: options.mk,v 1.1.1.1 2009/01/03 18:45:45 wiz Exp $
PKG_OPTIONS_VAR= PKG_OPTIONS.gambatte
PKG_SUPPORTED_OPTIONS= qt
.include "../../mk/bsd.options.mk"
PLIST_VARS= qt
.if !empty(PKG_OPTIONS:Mqt)
# does not work well without GL:
# Xlib: extension "GLX" missing on display ":0.0".
# QGLContext::makeCurrent(): Cannot make invalid context current.
# Segmentation fault (core dumped)
PLIST.qt= yes
post-build:
cd ${WRKSRC}/gambatte_qt && \
${SETENV} ${MAKE_ENV} ${QTDIR}/bin/qmake && \
${SETENV} ${MAKE_ENV} ${MAKE}
post-install:
${INSTALL_PROGRAM} ${WRKSRC}/gambatte_qt/bin/gambatte_qt \
${DESTDIR}${PREFIX}/bin
.include "../../x11/qt4-libs/buildlink3.mk"
.include "../../x11/qt4-tools/buildlink3.mk"
.include "../../x11/libXv/buildlink3.mk"
.include "../../mk/oss.buildlink3.mk"
.endif
|