pkgsrc-ng/lang/ocaml/patches/patch-otherlibs_Makefile
2016-10-14 07:49:11 +02:00

17 lines
598 B
Plaintext

$NetBSD: patch-otherlibs_Makefile,v 1.4 2015/12/29 23:34:53 dholland Exp $
ocaml-graphics needs CAMLOPT to be one line only
--- otherlibs/Makefile.orig 2015-05-12 14:46:37.000000000 +0000
+++ otherlibs/Makefile
@@ -14,8 +14,7 @@
# Common Makefile for otherlibs on the Unix ports
CAMLC=$(CAMLRUN) $(ROOTDIR)/ocamlc -nostdlib -I $(ROOTDIR)/stdlib
-CAMLOPT=$(CAMLRUN) $(ROOTDIR)/ocamlopt -nostdlib \
- -I $(ROOTDIR)/stdlib
+CAMLOPT=$(CAMLRUN) $(ROOTDIR)/ocamlopt -nostdlib -I $(ROOTDIR)/stdlib
CFLAGS=-I$(ROOTDIR)/byterun $(SHAREDCCCOMPOPTS) $(EXTRACFLAGS)
include ../Makefile.shared