Changeset 118232 for trunk/dports


Ignore:
Timestamp:
Mar 26, 2014, 8:24:06 PM (10 years ago)
Author:
and.damore@…
Message:

port luash: fix linking, move all patching to patchfiles, build universal, nomaintainer

Location:
trunk/dports/shells/luash
Files:
1 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/shells/luash/Portfile

    r114431 r118232  
    2525# remove it if a lua51 port is introduced and used to compile luash
    2626patchfiles              patch-makefile.diff \
     27                        patch-luash_cpp.diff \
    2728                        patch-luash_lua.diff
    2829
    2930
    3031use_configure           no
     32universal_variant       yes
    3133
    32 variant universal {}
    3334
    3435depends_lib             port:lua \
    3536                        port:lua-luafilesystem
    3637
    37 post-patch {
    38     reinplace "s|lua_open|luaL_newstate|" ${worksrcpath}/luash.cpp
     38pre-build {
     39    build.args          CXX=${configure.cxx} \
     40                        CXX_FLAGS="${configure.cppflags} ${configure.cxxflags} \
     41                            [get_canonical_archflags cxx] ${configure.ldflags}"
    3942}
    4043
    41 build.args-append       CXX=${configure.cxx} \
    42                         CXX_FLAGS="${configure.cxxflags} [get_canonical_archflags cxx]"
     44destroot.destdir        PREFIX=${destroot}${prefix}
    4345
    44 destroot.args           PREFIX=${prefix}
    4546
    4647post-destroot {
Note: See TracChangeset for help on using the changeset viewer.