Changeset 98150


Ignore:
Timestamp:
Sep 26, 2012, 3:23:29 PM (12 years ago)
Author:
ryandesign@…
Message:

htmldoc: add patch to fix build with libpng 1.5; add post-build block to detect when build fails (#36341)

Location:
trunk/dports/textproc/htmldoc
Files:
2 added
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/textproc/htmldoc/Portfile

    r97300 r98150  
    55name            htmldoc
    66version         1.8.27
    7 revision        4
     7revision        5
    88categories      textproc
    99license         {GPL-2 OpenSSLException}
     
    3434depends_lib     port:jpeg port:libpng port:zlib
    3535
     36patchfiles      patch-libpng-1.5.diff
     37
    3638configure.cxxflags -I${prefix}/include
    3739
    3840configure.args  --without-gui --disable-localjpeg --disable-localpng \
    3941                --disable-localzlib --disable-ssl
     42
     43post-build {
     44        # The build and install don't notice when essential files don't get built,
     45        # so we must exit for it when it fails. #36341
     46        foreach f {htmldoc/htmldoc} {
     47                if {![file exists ${worksrcpath}/${f}]} {
     48                        return -code error "${f} did not get built"
     49                }
     50        }
     51}
    4052
    4153destroot.destdir prefix=${destroot}${prefix} exec_prefix=${destroot}${prefix} \
Note: See TracChangeset for help on using the changeset viewer.