Ticket #29881: hdfeos-patch.diff
File hdfeos-patch.diff, 1.0 KB (added by ryandesign (Ryan Carsten Schmidt), 13 years ago) |
---|
-
Portfile
24 24 checksums md5 425663791aeb9355c6fb9f6650aff0e8 \ 25 25 sha1 4b24fa23eeefa94b2703180294942d615b3ed73e \ 26 26 rmd160 15d9c8d9d01768205c8bc42f652548d7b84f0018 27 28 post-patch { 29 # prevent build failure when using hdf4 +universal 30 reinplace "s|/lib/cpp|${configure.cpp}|g" ${worksrcpath}/configure 31 } 32 27 33 configure.args --with-hdf4=${prefix} \ 28 34 --with-zlib=${prefix} \ 29 35 --with-szlib=${prefix} \ 30 36 --disable-dependency-tracking 31 37 configure.cc ${prefix}/bin/h4cc 32 if {[variant_isset universal]} {33 post-patch {34 reinplace "s|/lib/cpp|/usr/bin/cpp|g" ${worksrcpath}/configure35 }36 }37 38 post-destroot { 38 39 eval xinstall -m 644 [glob ${worksrcpath}/include/*.h] \ 39 40 ${destroot}${prefix}/include