Changeset 14390


Ignore:
Timestamp:
Oct 3, 2005, 4:05:42 PM (14 years ago)
Author:
pguyot (Paul Guyot)
Message:

Version bump and remove suffix.

Bug: #5087
Submitted by:
Reviewed by:
Approved by:
Obtained from:

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/cross/avr-gcc/Portfile

    r10977 r14390  
    1 # $Id: Portfile,v 1.2 2005/02/14 09:18:17 toby Exp $
     1# $Id: Portfile,v 1.3 2005/10/03 16:05:42 pguyot Exp $
    22
    33PortSystem                      1.0
    44name                    avr-gcc
    5 version                 3.4.3
     5version                 3.4.4
    66
    77# Parameters for this port.
     
    1818distfiles                       gcc-${version}.tar.bz2
    1919worksrcdir                      gcc-${version}
    20 checksums                       md5 e744b30c834360fccac41eb7269a3011
     20checksums                       md5 b594ff4ea4fbef4ba9220887de713dfe
    2121
    2222# Download everything to gcc/
     
    3333use_bzip2                       yes
    3434
    35 # Since we don't build gcc and binutils at the same time, gcc's Makefile will try to transform
    36 # program names as gcc's name (add -${version} with ${version} being the version of gcc).
    37 # But it won't work because binutils binaries don't have the ${version} suffix, and even if they
    38 # had, they would actually have the binutils' version suffix (and not gcc's version).
    39 # So let's tell gcc's Makefile not to do that mistake.
    40 
    41 set environment [list AR_FOR_TARGET=${crossgcc-target}-ar \
    42                                 AS_FOR_TARGET=${crossgcc-target}-as \
    43                                 LD_FOR_TARGET=${crossgcc-target}-ld \
    44                                 NM_FOR_TARGET=${crossgcc-target}-nm \
    45                                 RANLIB_FOR_TARGET=${crossgcc-target}-ranlib]
    46 
    4735# Build in a different directory, as advised in the README file.
    4836pre-configure   {
     
    5139configure.dir   ${workpath}/build
    5240configure.cmd   ${workpath}/gcc-${version}/configure
    53 configure.env   CC="cc -no-cpp-precomp" \
    54                                 ${environment}
     41configure.env   CC="cc -no-cpp-precomp"
    5542configure.args  --infodir='${prefix}/share/info' \
    5643                                --mandir='${prefix}/share/man' \
    5744                                --target=${crossgcc-target} \
    5845                                --program-prefix=${crossgcc-target}- \
    59                                 --program-suffix=-${version} \
    6046                                --with-included-gettext \
    6147                                --enable-obsolete \
     
    6349
    6450build.dir       ${workpath}/build
    65 
    66 build.args              ${environment}
    67 destroot.args   ${environment}
    68 
    6951
    7052patch {
     
    220202        crossgcc::rename_man_page 1 jcf-dump
    221203        crossgcc::rename_man_page 1 jv-scan
    222        
    223         # There is a bug in gcc/Makefile::install-driver
    224         # For cross compilers, $(GCC_INSTALL_NAME) is equal to
    225         # $(target_noncanonical)-gcc-$(version)
    226         # and hence the driver isn't installed.
    227         xinstall -c "${workpath}/build/gcc/xgcc" \
    228                 "${destroot}/${prefix}/bin/${crossgcc-target}-gcc-${version}"
    229 }
     204}
Note: See TracChangeset for help on using the changeset viewer.