Changeset 136921


Ignore:
Timestamp:
May 30, 2015, 3:13:05 AM (5 years ago)
Author:
ryandesign@…
Message:

autotrace: autoreconf to fix issues building with ccache or with the universal variant

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/graphics/autotrace/Portfile

    r116578 r136921  
    2626
    2727post-extract {
     28    move ${worksrcpath}/configure.in ${worksrcpath}/configure.ac
    2829        file mkdir ${workpath}/bin
    2930        xinstall ${filespath}/pstoedit-config ${workpath}/bin
     
    3334                                        patch-libpng-1.5.diff
    3435
     36# Fix universal variant, build with ccache
     37use_autoreconf          yes
     38autoreconf.args-append  --force
     39
    3540configure.args          --mandir=${prefix}/share/man \
    3641                                        --with-magick \
    3742                                        --with-pstoedit-prefix=${workpath}
    3843
    39 # ccache: invalid option -- d
    40 configure.ccache        no
    41 
    42 # in ./.libs/libautotrace.dylib, file was built for unsupported file format which is not the architecture being linked
    43 universal_variant       no
    44 
    4544post-destroot {
    46         xinstall -m 755 -d ${destroot}${prefix}/share/doc/${name}
     45    set docdir ${prefix}/share/doc/${subport}
     46    xinstall -m 755 -d ${destroot}${docdir}
    4747        xinstall -m 644 -W ${worksrcpath} AUTHORS COPYING COPYING.LIB ChangeLog \
    4848                FAQ HACKING INSTALL NEWS README README.MING THANKS TODO \
    49                 ${destroot}${prefix}/share/doc/${name}
     49        ${destroot}${docdir}
    5050}
    5151
Note: See TracChangeset for help on using the changeset viewer.