[BACK]Return to options.mk CVS log [TXT][DIR] Up to [cvs.NetBSD.org] / pkgsrc / games / solarus

Annotation of pkgsrc/games/solarus/options.mk, Revision 1.2

1.2     ! nia         1: # $NetBSD: options.mk,v 1.1 2020/06/24 13:28:26 nia Exp $
1.1       nia         2:
                      3: PKG_OPTIONS_VAR=       PKG_OPTIONS.solarus
                      4:
                      5: .include "../../lang/LuaJIT2/platform.mk"
                      6: .if !empty(PLATFORM_SUPPORTS_LUAJIT:M[Yy][Ee][Ss])
1.2     ! nia         7: PKG_SUPPORTED_OPTIONS= luajit
1.1       nia         8: PKG_SUGGESTED_OPTIONS= luajit
                      9: .endif
                     10:
                     11: .include "../../mk/bsd.options.mk"
                     12:
                     13: .if !empty(PKG_OPTIONS:Mluajit)
                     14: CMAKE_ARGS+=   -DSOLARUS_USE_LUAJIT=ON
                     15: .  include "../../lang/LuaJIT2/buildlink3.mk"
                     16: .else
                     17: CMAKE_ARGS+=   -DSOLARUS_USE_LUAJIT=OFF
                     18: .  include "../../lang/lua51/buildlink3.mk"
                     19: .endif

CVSweb <webmaster@jp.NetBSD.org>