Ticket #20268: Portfile.diff

File Portfile.diff, 395 bytes (added by tenomoto (Takeshi Enomoto), 15 years ago)
  • Portfile

    old new  
    3636
    3737configure {
    3838    reinplace "s|CC = gcc|CC = ${configure.cc}|" ${worksrcpath}/Makefile
     39    if {[variant_isset universal]} {
     40        reinplace "s|CFLAGS = -O2|CFLAGS = -O2 ${configure.universal_cflags}|" \
     41            ${worksrcpath}/Makefile
     42    }   
    3943}
    4044
    4145destroot {