Ticket #40486: multimarkdown.patch
File multimarkdown.patch, 1.4 KB (added by 521E328E-2A13-4749-826A-E4EF4F22A0F1@…, 11 years ago) |
---|
-
Portfile
4 4 PortSystem 1.0 5 5 PortGroup github 1.0 6 6 7 github.setup fletcher MultiMarkdown-4 4. 2.17 github.setup fletcher MultiMarkdown-4 4.3 8 8 name multimarkdown 9 9 categories textproc 10 10 # peg-markdown is released under both the GPL and MIT licenses. … … 36 36 system -W ${worksrcpath} "git submodule update --init" 37 37 } 38 38 39 # https://github.com/fletcher/MultiMarkdown-4/issues/1340 patchfiles patch-Makefile.diff41 42 39 use_configure no 43 40 44 41 variant universal {} -
files/patch-Makefile.diff
1 --- Makefile.orig 2013-08-15 21:30:50.000000000 -05002 +++ Makefile 2013-08-15 21:31:09.000000000 -05003 @@ -15,16 +15,16 @@4 ALL : $(PROGRAM) enumMap.txt5 6 %.o : %.c parser.h7 - gcc -c $(CFLAGS) -o $@ $<8 + $(CC) -c $(CFLAGS) -o $@ $<9 10 parser.c : parser.leg greg/greg parser.h11 greg/greg -o parser.c parser.leg12 13 $(GREG): greg14 - CC=gcc $(MAKE) -C greg15 + $(MAKE) -C greg16 17 $(PROGRAM) : $(OBJS)18 - gcc $(CFLAGS) -o $@ $(OBJS)19 + $(CC) $(CFLAGS) -o $@ $(OBJS)20 21 clean:22 rm -f $(PROGRAM) $(OBJS) parser.c enumMap.txt speed*.txt; \