summaryrefslogtreecommitdiff
path: root/lang/lua/Makefile
diff options
context:
space:
mode:
authorobache <obache@pkgsrc.org>2007-06-15 17:45:37 +0000
committerobache <obache@pkgsrc.org>2007-06-15 17:45:37 +0000
commit52beb69044407443e80cc8551f0d24b47991f14a (patch)
tree5cde919a1193534f57ab2b4176397697c69e6f60 /lang/lua/Makefile
parentad3a06ba9a10962d0caac8bf25f5d6fb38770efe (diff)
downloadpkgsrc-52beb69044407443e80cc8551f0d24b47991f14a.tar.gz
Update lua to 5.1.2.
Patch provided by Holger Weiss in PR 36333. And specify more platform target. This release fixes all known bugs in 5.1.1.
Diffstat (limited to 'lang/lua/Makefile')
-rw-r--r--lang/lua/Makefile15
1 files changed, 11 insertions, 4 deletions
diff --git a/lang/lua/Makefile b/lang/lua/Makefile
index d5ea0737ed3..b39b74f1265 100644
--- a/lang/lua/Makefile
+++ b/lang/lua/Makefile
@@ -1,7 +1,6 @@
-# $NetBSD: Makefile,v 1.32 2006/11/03 06:46:21 joerg Exp $
+# $NetBSD: Makefile,v 1.33 2007/06/15 17:45:37 obache Exp $
-DISTNAME= lua-5.1.1
-PKGREVISION= 1
+DISTNAME= lua-5.1.2
CATEGORIES= lang
MASTER_SITES= ftp://ftp.tecgraf.puc-rio.br/pub/lua/ \
ftp://ftp.ntua.gr/pub/lang/lua/ \
@@ -34,10 +33,18 @@ EGDIR= ${PREFIX}/share/examples/lua
.include "../../mk/bsd.prefs.mk"
-.if !empty(OPSYS:M*BSD*)
+.if ${OPSYS} == "FreeBSD"
+BUILD_TARGET= freebsd
+.elif !empty(OPSYS:M*BSD*) || ${OPSYS} == "DragonFly"
BUILD_TARGET= bsd
.elif ${OPSYS} == "Linux"
BUILD_TARGET= linux
+.elif ${OPSYS} == "Darwin"
+BUILD_TARGET= macosx
+.elif ${OPSYS} == "SunOS"
+BUILD_TARGET= solaris
+.elif ${OPSYS} == "AIX"
+BUILD_TARGET= aix
.else
BUILD_TARGET= generic
.endif