Received: by mail.netbsd.org (Postfix, from userid 605) id EFA6784E72; Wed, 1 Jul 2020 16:39:59 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 7AA0884E6C for ; Wed, 1 Jul 2020 16:39:59 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([127.0.0.1]) by localhost (mail.netbsd.org [127.0.0.1]) (amavisd-new, port 10025) with ESMTP id XVkrb5a7UywQ for ; Wed, 1 Jul 2020 16:39:59 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.NetBSD.org [IPv6:2001:470:a085:999:28c:faff:fe03:5984]) by mail.netbsd.org (Postfix) with ESMTP id D495E84D9B for ; Wed, 1 Jul 2020 16:39:58 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id CE9E7FB28; Wed, 1 Jul 2020 16:39:58 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1593621598130620" MIME-Version: 1.0 Date: Wed, 1 Jul 2020 16:39:58 +0000 From: "Nia Alarie" Subject: CVS commit: pkgsrc/games/love09 To: pkgsrc-changes@NetBSD.org Reply-To: nia@netbsd.org X-Mailer: log_accum Message-Id: <20200701163958.CE9E7FB28@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: pkgsrc-changes.NetBSD.org Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1593621598130620 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="US-ASCII" 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. --_----------=_1593621598130620 Content-Disposition: inline Content-Length: 848 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii 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 --_----------=_1593621598130620--