Ticket #20404: Portfile.2.diff
File Portfile.2.diff, 929 bytes (added by jmroot (Joshua Root), 15 years ago) |
---|
-
Portfile
38 38 configure.env LC_ALL=C 39 39 configure.cmd sh Configure 40 40 configure.pre_args 41 configure.universal_args-delete --disable-dependency-tracking 41 42 configure.post_args \ 42 43 -des \ 43 44 -Dprefix='${prefix}' \ 44 -Dccflags="-I'${prefix}/include'" \ 45 -Dldflags=-L'${prefix}/lib' \ 45 -Dcppflags="\${CPPFLAGS}" \ 46 -Dccflags="\${CFLAGS}" \ 47 -Dldflags="\${LDFLAGS}" \ 46 48 -Dvendorprefix='${prefix}' \ 47 49 -D cc=\${CC} \ 48 50 -D ld=\${CC} \ … … 58 60 59 61 configure.ccache no 60 62 61 universal_variant no 63 if {[variant_isset universal]} { 64 post-configure { 65 system "cd ${worksrcpath} && ed - ${worksrcpath}/config.h < ${filespath}/config.h.ed" 66 } 67 } 62 68 63 69 test.run yes 64 70