1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-11-23 00:43:28 +00:00

- Add upstream patches for version 1.5.4

- Bump PORTREVISION
This commit is contained in:
Renato Botelho 2010-09-16 13:54:16 +00:00
parent 6a8b82b835
commit d3219d894c
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=261275
3 changed files with 11 additions and 4 deletions

View File

@ -7,7 +7,7 @@
PORTNAME= lua
PORTVERSION= 5.1.4
PORTREVISION= 1
PORTREVISION= 2
CATEGORIES= lang
MASTER_SITES= http://www.lua.org/ftp/ \
ftp://ftp.tecgraf.puc-rio.br/pub/lua/ \
@ -16,9 +16,13 @@ MASTER_SITES= http://www.lua.org/ftp/ \
ftp://ftp.uni-trier.de/pub/languages/lua/ \
ftp://ftp.gwdg.de/pub/languages/lua/
PATCH_SITES= http://www.lua.org/ftp/
PATCHFILES= patch-lua-5.1.4-2
MAINTAINER= garga@FreeBSD.org
COMMENT= Small, compilable scripting language providing easy access to C code
PATCH_WRKSRC= ${WRKSRC}/src
USE_LUA= 5.1
LUA_COMPS= # only define variables
ALL_TARGET= freebsd

View File

@ -1,3 +1,6 @@
MD5 (lua-5.1.4.tar.gz) = d0870f2de55d59c1c8419f36e8fac150
SHA256 (lua-5.1.4.tar.gz) = b038e225eaf2a5b57c9bcc35cd13aa8c6c8288ef493d52970c9545074098af3a
SIZE (lua-5.1.4.tar.gz) = 216679
MD5 (patch-lua-5.1.4-2) = 1239310e0c4a581c7831e596f95cc6cd
SHA256 (patch-lua-5.1.4-2) = a7f8ca9a3be52daecb3d3c9988d08ccc2bf9f785b075a0bc6463038356a9ec4c
SIZE (patch-lua-5.1.4-2) = 5473

View File

@ -1,5 +1,5 @@
--- ./src/Makefile.orig 2008-01-19 17:37:58.000000000 -0200
+++ ./src/Makefile 2008-08-10 16:00:41.000000000 -0300
--- Makefile.orig 2008-01-19 17:37:58.000000000 -0200
+++ Makefile 2008-08-10 16:00:41.000000000 -0300
@@ -9,7 +9,8 @@
CC= gcc
@ -30,7 +30,7 @@
a: $(ALL_A)
+$(LUA_SO): $(CORE_O) $(LIB_O)
+ $(CC) -o $@ $(MYLDFLAGS) -shared -Wl,-soname=$(LUA_SONAME) $?
+ $(CC) -o $@ $(CFLAGS) $(LDFLAGS) $(MYLDFLAGS) -shared -Wl,-soname=$(LUA_SONAME) $?
+
$(LUA_A): $(CORE_O) $(LIB_O)
- $(AR) $@ $?