Changeset 120326


Ignore:
Timestamp:
May 23, 2014, 1:11:36 PM (4 years ago)
Author:
ryandesign@…
Message:

libdumb: set distname instead of distfiles and worksrcdir; rewrite master_sites to avoid redirects; set -arch flags even when not building universal

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/multimedia/libdumb/Portfile

    r120325 r120326  
    1414homepage        http://dumb.sourceforge.net
    1515
    16 distfiles       dumb-${version}${extract.suffix}
    17 master_sites    sourceforge:dumb
     16distname        dumb-${version}
     17master_sites    sourceforge:project/dumb/dumb/${version}/
    1818
    1919use_parallel_build  no
     
    2121checksums       rmd160  53c7931fec71dd4e67e19c4acf38c0f9202e5698 \
    2222                sha256  8d44fbc9e57f3bac9f761c3b12ce102d47d717f0dd846657fb988e0bb5d1ea33
    23 
    24 worksrcdir      dumb-${version}
    2523
    2624# patches to bulid shared libraries
     
    3836}
    3937
     38variant universal {}
     39
    4040# dumb sets its own compiler flags with no simple way of adding more, so append them to compiler.
    41 if { ![variant_isset universal] } {
    42     build.args-append CC=${configure.cc}
    43 } else {
    44     build.args-append CC="${configure.cc} ${configure.universal_cflags}"
    45 }
     41build.args-append CC="${configure.cc} [get_canonical_archflags cc]"
    4642
    4743build.args-append              \
Note: See TracChangeset for help on using the changeset viewer.