Changeset 92853


Ignore:
Timestamp:
May 9, 2012, 5:27:23 AM (7 years ago)
Author:
jmr@…
Message:

gtk-extra: fix path to config.{guess,sub}, replace incorrect src_dir with worksrcpath

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/x11/gtk-extra/Portfile

    r82116 r92853  
    2424checksums               gtk+extra-0.99.17.tar.gz md5 390e622c12a5c7f7845ee144ae13ab93
    2525
    26 pre-configure {
     26post-patch {
    2727        # Copy new versions of config.guess and config.sub for host detection
    28         set src_dir ${workpath}/${name}-${version}
    29         system "cp ${prefix}/share/automake-1.11/config.guess ${src_dir}"
    30         system "cp ${prefix}/share/automake-1.11/config.sub ${src_dir}"
     28        eval copy -force [glob ${prefix}/share/automake-*/config.{guess,sub}] \
     29            {${worksrcpath}}
    3130
    32 }
    33 
    34 pre-build {
    3531        # Create an empty malloc.h file to provide missing header
    3632        # This header would define stuff that's in stdlib.h
    37         set src_dir ${workpath}/${name}-${version}
    38         system "touch ${src_dir}/malloc.h"
     33        touch ${worksrcpath}/malloc.h
    3934}
Note: See TracChangeset for help on using the changeset viewer.