Ticket #20404: Portfile.diff
File Portfile.diff, 890 bytes (added by jmroot (Joshua Root), 15 years ago) |
---|
-
Portfile
40 40 configure.env LC_ALL=C 41 41 configure.cmd /bin/sh Configure 42 42 configure.pre_args 43 configure.universal_args-delete --disable-dependency-tracking 43 44 configure.args \ 44 45 -des \ 45 46 -D prefix='${prefix}' \ 46 47 -D scriptdir='${prefix}/bin' \ 47 48 -D cppflags="\${CPPFLAGS}" \ 49 -D ccflags="\${CFLAGS}" \ 48 50 -D ldflags="\${LDFLAGS}" \ 49 51 -D vendorprefix='${prefix}' \ 50 52 -D man1ext='1pm' \ … … 74 76 } 75 77 } 76 78 77 universal_variant no78 79 79 test.run yes 80 80 81 if {[variant_isset universal]} { 82 post-configure { 83 system "cd ${worksrcpath} && ed - ${worksrcpath}/config.h < ${filespath}/config.h.ed" 84 } 85 } 86 81 87 post-destroot { 82 88 ln -s perl${version} ${destroot}${prefix}/bin/$name 83 89 }