FreeBSD Bugzilla – Attachment 130518 Details for
Bug 174453
[update] devel/luafilesystem
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
file.diff
file.diff (text/plain), 3.64 KB, created by
fiziologus
on 2012-12-15 14:20:00 UTC
(
hide
)
Description:
file.diff
Filename:
MIME Type:
Creator:
fiziologus
Created:
2012-12-15 14:20:00 UTC
Size:
3.64 KB
patch
obsolete
>diff -ruN luafilesystem.orig/Makefile luafilesystem/Makefile >--- luafilesystem.orig/Makefile 2012-11-17 09:55:59.000000000 +0400 >+++ luafilesystem/Makefile 2012-12-15 18:01:37.000000000 +0400 >@@ -6,9 +6,9 @@ > # > > PORTNAME= luafilesystem >-PORTVERSION= 1.4.2 >+PORTVERSION= 1.5.0 > CATEGORIES= devel >-MASTER_SITES= http://luaforge.net/frs/download.php/3931/ >+MASTER_SITES= GH > PKGNAMEPREFIX= ${LUA_PKGNAMEPREFIX} > > MAINTAINER= kelly.hays@jkhfamily.org >@@ -18,24 +18,29 @@ > > USE_LUA= 5.1 > >+USE_GITHUB= yes >+GH_ACCOUNT= keplerproject >+GH_PROGECT= ${PORTNAME} >+GH_TAGNAME= v${PORTVERSION} >+GH_COMMIT= 8ff2013 >+ >+ALL_TARGET= lib >+ > PLIST_FILES= %%LUA_MODLIBDIR%%/lfs.so > PORTDOCS= * > >-do-build: >- cd ${WRKSRC}/src && \ >- ${CC} -O2 -Wall -fPIC -W -Waggregate-return \ >- -Wcast-align -Wmissing-prototypes -Wnested-externs \ >- -Wshadow -Wwrite-strings -pedantic -shared \ >- -o lfs.so lfs.c -I${LUA_INCDIR} >+.include <bsd.port.options.mk> > >-do-install: >- @${INSTALL_PROGRAM} ${WRKSRC}/src/lfs.so ${LUA_MODLIBDIR} >+post-patch: >+ ${REINPLACE_CMD} -e \ >+ "s|%%PREFIX%%|${PREFIX}| ; \ >+ s|%%MODLIBDIR%%|${LUA_MODLIBDIR}| ; \ >+ s|%%INCDIR%%|${LUA_INCDIR}|" ${WRKSRC}/config > > post-install: >-.if !defined(NOPORTDOCS) >- ${MKDIR} ${DOCSDIR} >- (cd ${WRKSRC}/doc/us/ && ${COPYTREE_SHARE} \* ${DOCSDIR}) >- >+.if ${PORT_OPTIONS:MDOCS} >+ ${MKDIR} ${DOCSDIR} && \ >+ ${CP} ${WRKSRC}/doc/us/* ${DOCSDIR} > .endif > > .include <bsd.port.mk> >diff -ruN luafilesystem.orig/distinfo luafilesystem/distinfo >--- luafilesystem.orig/distinfo 2011-07-03 18:56:25.000000000 +0400 >+++ luafilesystem/distinfo 2012-12-15 17:02:40.000000000 +0400 >@@ -1,2 +1,2 @@ >-SHA256 (luafilesystem-1.4.2.tar.gz) = 954d19f16d5f97cbd7b09893cbad7f42af44770930f5c1caec80d0b04547121a >-SIZE (luafilesystem-1.4.2.tar.gz) = 25408 >+SHA256 (luafilesystem-1.5.0.tar.gz) = d748d796c513a3392b6e66e7ecd8477a9d3d364ddae8456d9b7502bb7c0abce8 >+SIZE (luafilesystem-1.5.0.tar.gz) = 26672 >diff -ruN luafilesystem.orig/files/patch-Makefile luafilesystem/files/patch-Makefile >--- luafilesystem.orig/files/patch-Makefile 1970-01-01 03:00:00.000000000 +0300 >+++ luafilesystem/files/patch-Makefile 2012-12-15 17:31:32.000000000 +0400 >@@ -0,0 +1,11 @@ >+--- Makefile.orig 2009-10-21 00:54:35.000000000 +0400 >++++ Makefile 2012-12-15 17:30:48.000000000 +0400 >+@@ -12,7 +12,7 @@ >+ lib: src/lfs.so >+ >+ src/lfs.so: $(OBJS) >+- MACOSX_DEPLOYMENT_TARGET="10.3"; export MACOSX_DEPLOYMENT_TARGET; $(CC) $(CFLAGS) $(LIB_OPTION) -o src/lfs.so $(OBJS) >++ $(CC) $(CFLAGS) $(LIB_OPTION) -o src/lfs.so $T.o >+ >+ install: >+ mkdir -p $(LUA_LIBDIR) >diff -ruN luafilesystem.orig/files/patch-config luafilesystem/files/patch-config >--- luafilesystem.orig/files/patch-config 1970-01-01 03:00:00.000000000 +0300 >+++ luafilesystem/files/patch-config 2012-12-15 17:36:58.000000000 +0400 >@@ -0,0 +1,33 @@ >+--- config.orig 2009-10-21 00:54:35.000000000 +0400 >++++ config 2012-12-15 17:36:31.000000000 +0400 >+@@ -1,24 +1,24 @@ >+ # Installation directories >+ >+ # Default installation prefix >+-PREFIX=/usr/local >++PREFIX=%%PREFIX%% >+ >+ # System's libraries directory (where binary libraries are installed) >+-LUA_LIBDIR= $(PREFIX)/lib/lua/5.1 >++LUA_LIBDIR= %%MODLIBDIR%% >+ >+ # Lua includes directory >+-LUA_INC= $(PREFIX)/include >++LUA_INC= %%INCDIR%% >+ >+ # OS dependent >+ LIB_OPTION= -shared #for Linux >+ #LIB_OPTION= -bundle -undefined dynamic_lookup #for MacOS X >+ >+-LIBNAME= $T.so.$V >++LIBNAME= $T.so >+ >+ # Compilation directives >+ WARN= -O2 -Wall -fPIC -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings -pedantic >+ INCS= -I$(LUA_INC) >+-CFLAGS= $(WARN) $(INCS) >+-CC= gcc >++CFLAGS+= $(WARN) $(INCS) >++CC?= gcc >+ >+ # $Id: config,v 1.21 2007/10/27 22:42:32 carregal Exp $
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 174453
: 130518