Ticket #40433: portfile.diff
File portfile.diff, 644 bytes (added by mp@…, 11 years ago) |
---|
-
lua/Portfile
old new 49 49 reinplace "s|%PREFIX%|${prefix}|g" ${worksrcpath}/src/Makefile 50 50 } 51 51 52 platform darwin 8 { 53 post-patch { 54 reinplace "s|#include <errno.h>|#include <sys/types.h>\\\n#include <errno.h>|g" ${worksrcpath}/src/liolib.c 55 } 56 } 57 52 58 configure { 53 59 reinplace -E "/^MYLDFLAGS=/s|\$| ${configure.ldflags} [get_canonical_archflags]|" ${worksrcpath}/src/Makefile 54 60 reinplace -E "/^CFLAGS=/s|\$| ${configure.cflags} ${configure.cppflags} [get_canonical_archflags]|" ${worksrcpath}/src/Makefile