summaryrefslogtreecommitdiff
path: root/games
diff options
context:
space:
mode:
authornia <nia@pkgsrc.org>2020-06-24 12:30:56 +0000
committernia <nia@pkgsrc.org>2020-06-24 12:30:56 +0000
commit309b16e1b8b3003d6cf2fc446c5b359831999930 (patch)
treeedabf1ee8c67916b6f79f41368bbab47de712394 /games
parent198c464eaed6603d85bf1ab83839a374f2a4789b (diff)
downloadpkgsrc-309b16e1b8b3003d6cf2fc446c5b359831999930.tar.gz
love08: silly hack to avoid detecting NetBSD's unversioned Lua
Diffstat (limited to 'games')
-rw-r--r--games/love08/Makefile7
1 files changed, 4 insertions, 3 deletions
diff --git a/games/love08/Makefile b/games/love08/Makefile
index e91e5f55fdd..0a8fffe9bb3 100644
--- a/games/love08/Makefile
+++ b/games/love08/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.3 2020/06/24 12:12:41 nia Exp $
+# $NetBSD: Makefile,v 1.4 2020/06/24 12:30:56 nia Exp $
DISTNAME= love-0.8.0-linux-src
PKGNAME= ${DISTNAME:S/-linux-src//:S/love/love08/}
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= games
MASTER_SITES= https://bitbucket.org/rude/love/downloads/
@@ -18,10 +18,11 @@ USE_LANGUAGES= c c++
USE_TOOLS+= pkg-config
USE_LIBTOOL= yes
+# Avoid detecting unversioned lua in NetBSD.
SUBST_CLASSES+= lua
SUBST_STAGE.lua= pre-configure
SUBST_FILES.lua= configure
-SUBST_SED.lua= -e 's,lua5.1,lua-5.1,g'
+SUBST_SED.lua= -e 's,lua lua5.1,lua5.1,g'
GNU_CONFIGURE_PREFIX= ${PREFIX}/love0.8