Ignore:
Timestamp:
Feb 15, 2012, 9:16:59 PM (6 years ago)
Author:
and.damore@…
Message:

port lua-luafilesystem: using the right compiler, moved patching to a single file, set proper build target, set license, revision bumped, closing ticket #33263

Location:
trunk/dports/devel/lua-luafilesystem
Files:
1 deleted
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/devel/lua-luafilesystem/Portfile

    r78228 r89929  
    44name                lua-luafilesystem
    55version             1.5.0
    6 revision            1
     6revision            2
     7license             MIT
    78categories          devel
    89platforms           darwin
     
    2021distname            luafilesystem-${version}
    2122depends_lib         port:lua
    22 patchfiles          patch-config.diff \
    23                     patch-Makefile.diff
     23patchfiles          patch-config.diff
    2424
    2525post-patch {
     
    2727}
    2828use_configure       no
    29 build.target       
     29build.args          CC="${configure.cc}"
     30build.env-append    CFLAGS=" ${configure.cflags}  [get_canonical_archflags cc]" \
     31                    LDFLAGS="${configure.ldflags} [get_canonical_archflags ld]"
     32
     33build.target        lib
    3034
    3135post-destroot {
  • trunk/dports/devel/lua-luafilesystem/files/patch-config.diff

    r63325 r89929  
    1 --- config.orig 2010-02-01 22:48:44.000000000 +0100
    2 +++ config      2010-02-01 22:47:55.000000000 +0100
    3 @@ -1,7 +1,7 @@
     1--- config.orig 2012-02-15 20:25:23.000000000 +0100
     2+++ config      2012-02-15 20:32:30.000000000 +0100
     3@@ -1,24 +1,24 @@
    44 # Installation directories
    55 
     
    99 
    1010 # System's libraries directory (where binary libraries are installed)
    11  LUA_LIBDIR= $(PREFIX)/lib/lua/5.1
    12 @@ -10,8 +10,8 @@
     11-LUA_LIBDIR= $(PREFIX)/lib/lua/5.1
     12+LUA_LIBDIR= $(DESTDIR)$(PREFIX)/lib/lua/5.1
     13 
     14 # Lua includes directory
    1315 LUA_INC= $(PREFIX)/include
    1416 
     
    1719-#LIB_OPTION= -bundle -undefined dynamic_lookup #for MacOS X
    1820+#LIB_OPTION= -shared #for Linux
    19 +LIB_OPTION= -bundle -undefined dynamic_lookup #for MacOS X
     21+LIB_OPTION= $(LDFLAGS) -bundle -undefined dynamic_lookup #for MacOS X
    2022 
    2123 LIBNAME= $T.so.$V
    2224 
     25 # Compilation directives
     26-WARN= -O2 -Wall -fPIC -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings -pedantic
     27+WARN= -Wall -fPIC -W -Waggregate-return -Wcast-align -Wmissing-prototypes -Wnested-externs -Wshadow -Wwrite-strings -pedantic
     28 INCS= -I$(LUA_INC)
     29-CFLAGS= $(WARN) $(INCS)
     30+CFLAGS+= $(WARN) $(INCS)
     31 CC= gcc
     32 
     33 # $Id: config,v 1.21 2007/10/27 22:42:32 carregal Exp $
Note: See TracChangeset for help on using the changeset viewer.