Ticket #5276: portfile.diff
File portfile.diff, 800 bytes (added by hugo@…, 19 years ago) |
---|
-
Portfile
old new 52 52 # use file size attribute instead of access time 53 53 variant buffy { configure.args-append --enable-buffy-size } 54 54 55 variant gnuregex { configure.args-append --enable-regex 56 depends_lib-append port:gnuregex 57 post-configure { 58 reinplace "s|/. #undef USE_GNU_REGEX ./|#define USE_GNU_REGEX 1|g" ${worksrcpath}/config.h 59 reinplace "s|#include <regex.h>|#include <gnuregex.h>|g" ${worksrcpath}/mutt_regex.h 55 variant gnuregex { configure.args-append --with-regex 56 pre-configure { 57 reinplace "s/foo\\.\\*bar/foo.*?bar/" ${worksrcpath}/configure 60 58 } 61 59 } 62 60