Changeset 146326


Ignore:
Timestamp:
Mar 5, 2016, 8:54:47 AM (21 months ago)
Author:
takeshi@…
Message:

luarocks: update to 2.3.0, using PortGroup github

Location:
trunk/dports/devel/luarocks
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/devel/luarocks/Portfile

    r142417 r146326  
     1# -*- coding: utf-8; mode: tcl; tab-width: 4; indent-tabs-mode: nil; c-basic-offset: 4 -*- vim:fenc=utf-8:ft=tcl:et:sw=4:ts=4:sts=4
    12# $Id$
    23
    34PortSystem          1.0
     5PortGroup           github 1.0
    46
    5 name                luarocks
    6 version             2.2.2
     7github.setup        keplerproject luarocks 2.3.0 v
    78license             MIT
    89categories          devel
     
    2021
    2122homepage            http://www.luarocks.org/
    22 master_sites        http://luarocks.org/releases/
    2323depends_lib         port:lua
    2424
    25 checksums           rmd160  ef91a7895779e6e14486c2b3ccccf9180586ca1a \
    26                     sha256  4f0427706873f30d898aeb1dfb6001b8a3478e46a5249d015c061fe675a1f022
     25checksums           rmd160  7b435a44d738aac1a37436cb8fab6b14ae5deb10 \
     26                    sha256  0e44e4246ee602dcc623b4a2c329a2c57627a598018d3474e30c28a91fe5276d
    2727
    2828configure.args      --with-lua=${prefix} \
  • trunk/dports/devel/luarocks/files/patch-src_luarocks_cfg.diff

    r142417 r146326  
    1 --- src/luarocks/cfg.lua        2015-11-09 22:36:55.000000000 -0500
    2 +++ src/luarocks/cfg.lua        2015-11-09 22:36:55.000000000 -0500
    3 @@ -397,15 +397,15 @@
     1--- src/luarocks/cfg.lua.orig   2015-12-30 00:50:11.000000000 +0900
     2+++ src/luarocks/cfg.lua        2016-03-05 17:08:04.000000000 +0900
     3@@ -477,14 +477,14 @@
    44    defaults.lib_extension = "so"
    55    defaults.external_lib_extension = "so"
     
    1515    defaults.variables.CFLAGS = "-O2"
    1616    defaults.cmake_generator = "Unix Makefiles"
    17     defaults.platforms = { "unix" }
    1817-   defaults.variables.CC = "gcc"
    1918-   defaults.variables.LD = "gcc"
     
    2322    defaults.variables.LIBFLAG = "-shared"
    2423    defaults.external_deps_patterns = {
    25 @@ -462,8 +462,8 @@
     24@@ -539,8 +539,8 @@
    2625    else
    2726       defaults.gcc_rpath = false
    2827    end
    29 -   defaults.variables.CC = "export MACOSX_DEPLOYMENT_TARGET=10."..version.."; gcc"
    30 -   defaults.variables.LD = "export MACOSX_DEPLOYMENT_TARGET=10."..version.."; gcc"
    31 +   defaults.variables.CC = "export MACOSX_DEPLOYMENT_TARGET=10."..version.."; %COMPILER%"
    32 +   defaults.variables.LD = "export MACOSX_DEPLOYMENT_TARGET=10."..version.."; %COMPILER%"
     28-   defaults.variables.CC = "env MACOSX_DEPLOYMENT_TARGET=10."..version.." gcc"
     29-   defaults.variables.LD = "env MACOSX_DEPLOYMENT_TARGET=10."..version.." gcc"
     30+   defaults.variables.CC = "env MACOSX_DEPLOYMENT_TARGET=10."..version.." %COMPILER%"
     31+   defaults.variables.LD = "env MACOSX_DEPLOYMENT_TARGET=10."..version.." %COMPILER%"
    3332    defaults.web_browser = "open"
    3433 end
Note: See TracChangeset for help on using the changeset viewer.