Ticket #23453: memtester.diff
File memtester.diff, 730 bytes (added by scott@…, 15 years ago) |
---|
-
Portfile
24 24 25 25 use_configure no 26 26 27 variant universal {} 28 27 29 pre-patch { 30 if {[variant_isset universal]} { 31 set archflags ${configure.universal_cflags} 32 } else { 33 set archflags ${configure.cc_archflags} 34 } 28 35 reinplace "s|/usr/local|${destroot}${prefix}|" ${worksrcpath}/Makefile 29 36 reinplace "s|man/man|share/man/man|" ${worksrcpath}/Makefile 30 reinplace "s|^cc|${configure.cc} |g" ${worksrcpath}/conf-cc ${worksrcpath}/conf-ld37 reinplace "s|^cc|${configure.cc} ${archflags}|g" ${worksrcpath}/conf-cc ${worksrcpath}/conf-ld 31 38 }