3 PKG_OPTIONS_VAR
= PKG_OPTIONS.gambatte
4 PKG_SUPPORTED_OPTIONS
= qt
6 .
include "../../mk/bsd.options.mk"
10 .if
!empty
(PKG_OPTIONS
:Mqt
)
11 # does not work well without GL:
12 # Xlib: extension "GLX" missing on display ":0.0".
13 # QGLContext::makeCurrent(): Cannot make invalid context current.
14 # Segmentation fault (core dumped)
18 cd
${WRKSRC}/gambatte_qt
&& \
19 ${SETENV} ${MAKE_ENV} ${QTDIR}/bin
/qmake
&& \
20 ${SETENV} ${MAKE_ENV} ${MAKE}
23 ${INSTALL_PROGRAM} ${WRKSRC}/gambatte_qt
/bin
/gambatte_qt \
24 ${DESTDIR}${PREFIX}/bin
26 .
include "../../x11/qt4-libs/buildlink3.mk"
27 .
include "../../x11/qt4-tools/buildlink3.mk"
28 .
include "../../x11/libXv/buildlink3.mk"
29 .
include "../../mk/oss.buildlink3.mk"