Ticket #25060: Portfile.diff
File Portfile.diff, 680 bytes (added by tenomoto (Takeshi Enomoto), 14 years ago) |
---|
-
Portfile
33 33 eval file rename [glob -directory ${workpath} \[A-s\]* t*.?] ${worksrcpath} 34 34 reinplace "s/-DLINUX//" ${worksrcpath}/makefile 35 35 reinplace "s|/usr/X11R6|${prefix}|g" ${worksrcpath}/makefile 36 if {[variant_isset universal]} { 37 reinplace "s|CSWITCHES = -O|CSWITCHES = ${configure.cflags} ${configure.universal_cflags}|" ${worksrcpath}/makefile } else { 38 reinplace "s|CSWITCHES = -O|CSWITCHES = ${configure.cflags} ${configure.cc_archflags}|" ${worksrcpath}/makefile 39 } 36 40 } 37 41 38 42 post-configure {