opnsense-ports/textproc/htmlc/files/patch-compiler_Makefile
Franco Fichtner 8cb1a96ede ports: pull in a snapshot of the FreeBSD ports tree
Taken from:	https://github.com/freebsd/freebsd-ports.git
Commit id:	5070672073b68be364139bc6b3a89100bd17d331
2014-11-09 14:03:21 +01:00

17 lines
515 B
Text

--- compiler/Makefile.orig 2011-04-04 02:08:25.000000000 -0700
+++ compiler/Makefile 2011-04-04 02:08:42.000000000 -0700
@@ -37,12 +37,12 @@
$(PROG).bin: $(BINOBJS)
$(CAMLBIN) -o $(PROG).bin str.cmxa unix.cmxa $(BINOBJS) \
- -cclib -lunix -cclib -lstr && \
+ && \
$(RM) $(PROG) && ln -s $(PROG).bin $(PROG)
$(PROG).byt: $(BYTOBJS)
$(CAMLBYT) -g -custom -o $(PROG).byt str.cma unix.cma $(BYTOBJS) \
- -cclib -lunix -cclib -lstr && \
+ && \
$(RM) $(PROG) && ln -s $(PROG).byt $(PROG)
installbyt: