Ticket #54600: 0001-angband-update-to-4.1.0-use-the-right-compiler.patch

File 0001-angband-update-to-4.1.0-use-the-right-compiler.patch, 1.6 KB (added by l2dy (Zero King), 7 years ago)
  • games/angband/Portfile

    From db127211da520cb7bc6b8111460c4c3ae6004ca5 Mon Sep 17 00:00:00 2001
    From: Zero King <l2dy@macports.org>
    Date: Wed, 16 Aug 2017 09:04:05 +0000
    Subject: [PATCH] angband: update to 4.1.0, use the right compiler
    
    ---
     games/angband/Portfile | 10 ++++++----
     1 file changed, 6 insertions(+), 4 deletions(-)
    
    diff --git a/games/angband/Portfile b/games/angband/Portfile
    index 25fc7f41..4c6b93cd 100644
    a b  
    33PortSystem          1.0
    44
    55name                angband
    6 version             4.0.5
     6version             4.1.0
    77set branch          [join [lrange [split ${version} .] 0 1] .]
    88
    99categories          games
    armor you can find, and finally face Morgoth - The Dark Enemy. 
    2121homepage            http://rephial.org/
    2222master_sites        ${homepage}downloads/${branch}
    2323
    24 checksums           rmd160  3ef1c798f974fa03edc54b898d093bf6d5681b66 \
    25                     sha256  0d769a0f349842b0c78cbcd1804a9e08f064e75ca26b957710e4c2a3eb14f852
     24worksrcdir          angband-master
     25
     26checksums           rmd160  c2a161b288c29313ff3bf8992b78c41dfec1ea4c \
     27                    sha256  ea52266e52b66d6bf2ab3728b3bc6c7c3875130973430021e31bf56000c0df8b
    2628
    2729post-patch {
    2830    addgroup games
    platform darwin { 
    6466        use_configure       no
    6567
    6668        build {
    67             system -W ${worksrcpath}/src "make -f Makefile.osx"
     69            system -W ${worksrcpath}/src "make -f Makefile.osx CC=${configure.cc}"
    6870        }
    6971
    7072        destroot.keepdirs   ${destroot}${applications_dir}/Angband.app/Contents/Resources/lib/info