Changeset 45074 for trunk/dports/print


Ignore:
Timestamp:
Jan 8, 2009, 7:07:36 AM (11 years ago)
Author:
blb@…
Message:

Multiple ports - work with either libtool 1.x or libtool 2.x installed,
ticket #17833 (maintainer timeout)

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/print/a2ps/Portfile

    r33149 r45074  
    2323        depends_lib-append port:libtool
    2424        post-patch {
    25                 copy -force ${prefix}/share/libtool/config.guess ${prefix}/share/libtool/config.sub ${worksrcpath}/auxdir/
     25                if {[file exists ${prefix}/share/libtool/config/config.guess]} {
     26                        copy -force ${prefix}/share/libtool/config/config.guess ${prefix}/share/libtool/config/config.sub ${worksrcpath}
     27                } else {
     28                        copy -force ${prefix}/share/libtool/config.guess ${prefix}/share/libtool/config.sub ${worksrcpath}
     29                }
    2630        }
    2731}
Note: See TracChangeset for help on using the changeset viewer.