aboutsummaryrefslogtreecommitdiffstats
path: root/lang/lua50
diff options
context:
space:
mode:
authorkevlo <kevlo@FreeBSD.org>2001-01-03 16:45:15 +0800
committerkevlo <kevlo@FreeBSD.org>2001-01-03 16:45:15 +0800
commitdd11abacc1e7acdc15bf144cfe45775151b78cc1 (patch)
tree8571fafcc4696d0cd52107043bee86621c250a31 /lang/lua50
parent36dc254e71d741f9e98ab76b17684788c1d78eb3 (diff)
downloadfreebsd-ports-graphics-dd11abacc1e7acdc15bf144cfe45775151b78cc1.tar.gz
freebsd-ports-graphics-dd11abacc1e7acdc15bf144cfe45775151b78cc1.tar.zst
freebsd-ports-graphics-dd11abacc1e7acdc15bf144cfe45775151b78cc1.zip
Update to 4.0
PR: 24036 Submitted by: MAINTAINER
Diffstat (limited to 'lang/lua50')
-rw-r--r--lang/lua50/Makefile6
-rw-r--r--lang/lua50/distinfo2
-rw-r--r--lang/lua50/files/patch-aa20
3 files changed, 15 insertions, 13 deletions
diff --git a/lang/lua50/Makefile b/lang/lua50/Makefile
index c0c51fdbbe4..7a0a4c98861 100644
--- a/lang/lua50/Makefile
+++ b/lang/lua50/Makefile
@@ -6,7 +6,7 @@
#
PORTNAME= lua
-PORTVERSION= 3.2.2
+PORTVERSION= 4.0
CATEGORIES= lang
MASTER_SITES= ftp://ftp.tecgraf.puc-rio.br/pub/lua/ \
ftp://csg.uwaterloo.ca/pub/lhf/lua/ \
@@ -14,7 +14,7 @@ MASTER_SITES= ftp://ftp.tecgraf.puc-rio.br/pub/lua/ \
ftp://ftp.ntua.gr/pub/lang/lua/ \
ftp://ftp.uni-trier.de/pub/languages/lua/ \
ftp://ftp.gwdg.de/pub/languages/lua/
-DISTNAME= lua-3.2
+DISTNAME= lua-4.0
MAINTAINER= richard@homemail.com
@@ -25,7 +25,7 @@ do-install:
@ ${MKDIR} ${PREFIX}/share/doc/lua
@ ${INSTALL_PROGRAM} ${WRKSRC}/bin/lua ${PREFIX}/bin
@ ${INSTALL_PROGRAM} ${WRKSRC}/bin/luac ${PREFIX}/bin
- @ ${INSTALL_MAN} ${WRKSRC}/doc/luac.man ${PREFIX}/man/man1/luac.1
+ @ ${INSTALL_MAN} ${WRKSRC}/doc/luac.1 ${PREFIX}/man/man1/luac.1
@ ${INSTALL_DATA} ${WRKSRC}/doc/idx.html ${PREFIX}/share/doc/lua
@ ${INSTALL_DATA} ${WRKSRC}/doc/index.html ${PREFIX}/share/doc/lua
@ ${INSTALL_DATA} ${WRKSRC}/doc/luac.html ${PREFIX}/share/doc/lua
diff --git a/lang/lua50/distinfo b/lang/lua50/distinfo
index 534e920fbda..a371d27024c 100644
--- a/lang/lua50/distinfo
+++ b/lang/lua50/distinfo
@@ -1 +1 @@
-MD5 (lua-3.2.tar.gz) = 374ba5c4839709922de40b8d10382705
+MD5 (lua-4.0.tar.gz) = be11522d46d33a931868c03694aaeeef
diff --git a/lang/lua50/files/patch-aa b/lang/lua50/files/patch-aa
index b9e49a26cec..5d05dcbac27 100644
--- a/lang/lua50/files/patch-aa
+++ b/lang/lua50/files/patch-aa
@@ -1,19 +1,21 @@
---- config.orig Thu Jul 8 06:32:37 1999
-+++ config Sat Feb 26 23:51:52 2000
-@@ -18,7 +18,7 @@
+--- config Mon Nov 6 12:28:20 2000
++++ config.new Tue Jan 2 15:51:57 2001
+@@ -28,7 +28,7 @@
# ------------------------------------------------------------------ C compiler
- # you need an ANSI C compiler. gcc is a popular one.
+ # You need an ANSI C compiler. gcc is a popular one.
-CC= gcc
+CC?= gcc
- WARN= -ansi -Wall
+ WARN= -ansi -pedantic -Wall
- # on IRIX, cc is a good ANSI compiler.
-@@ -64,5 +64,6 @@
+ # On IRIX, cc is a good ANSI compiler.
+@@ -93,7 +93,8 @@
INCS= -I$(INC) $(EXTRA_INCS)
- DEFS= $(COMPAT) $(NUMBER) $(OLD_ANSI) $(EXTRALIB) $(EXTRA_DEFS)
+ DEFS= $(COMPAT) $(NUMBER) $(OLD_ANSI) $(EXTRA_DEFS)
-CFLAGS= -O2 $(WARN) $(INCS) $(DEFS)
+CFLAGS?= -O2
-+CFLAGS+= $(WARN) $(INCS) $(DEFS)
++CFLAGS+= -O2 $(WARN) $(INCS) $(DEFS)
+
+ V=4.0