pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/games/love09



Module Name:    pkgsrc
Committed By:   nia
Date:           Wed Jul  1 16:39:58 UTC 2020

Added Files:
        pkgsrc/games/love09: options.mk

Log Message:
love09: Add options.mk


To generate a diff of this commit:
cvs rdiff -u -r0 -r1.1 pkgsrc/games/love09/options.mk

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Added files:

Index: pkgsrc/games/love09/options.mk
diff -u /dev/null pkgsrc/games/love09/options.mk:1.1
--- /dev/null   Wed Jul  1 16:39:58 2020
+++ pkgsrc/games/love09/options.mk      Wed Jul  1 16:39:58 2020
@@ -0,0 +1,23 @@
+# $NetBSD: options.mk,v 1.1 2020/07/01 16:39:58 nia Exp $
+
+PKG_OPTIONS_VAR=       PKG_OPTIONS.love
+
+PKG_SUPPORTED_OPTIONS= luajit
+
+.include "../../lang/LuaJIT2/platform.mk"
+.if !empty(PLATFORM_SUPPORTS_LUAJIT:M[Yy][Ee][Ss])
+PKG_SUGGESTED_OPTIONS= luajit
+.endif
+
+.include "../../mk/bsd.options.mk"
+
+.if !empty(PKG_OPTIONS:Mluajit)
+# JIT needs WX mappings
+NOT_PAX_MPROTECT_SAFE+=                love0.9/bin/love
+CONFIGURE_ARGS+=               --with-lua=luajit
+.  include "../../lang/LuaJIT2/buildlink3.mk"
+.else
+CONFIGURE_ARGS+=               --with-lua=lua
+CONFIGURE_ARGS+=               --with-luaversion=-5.1
+.  include "../../lang/lua51/buildlink3.mk"
+.endif



Home | Main Index | Thread Index | Old Index