| | 40 | # See also post-install in apr Portfile |
| | 41 | post-configure { |
| | 42 | if {[variant_isset universal] && ${os.arch}=="i386"} { |
| | 43 | system "cp /usr/local/share/apr-1/build/i386-apr_rules.mk ${worksrcpath}-i386/build/rules.mk" |
| | 44 | system "cp /usr/local/share/apr-1/build/x86_64-apr_rules.mk ${worksrcpath}-x86_64/build/rules.mk" |
| | 45 | } |
| | 46 | } |
| | 47 | |
| | 48 | # muniversal bug(?): scripts for archs are merged/diffed but non-executable after install |
| | 49 | if {[variant_isset universal] && ${os.arch}=="i386"} { |
| | 50 | post-install { |
| | 51 | system "chmod 755 ${prefix}/bin/apu-1-config" |
| | 52 | } |
| | 53 | } |