Files
pkgsrc-ng/lang/ocaml/patches/patch-otherlibs_Makefile
2016-01-21 23:42:40 +01:00

16 lines
594 B
Plaintext

$NetBSD: patch-otherlibs_Makefile,v 1.3 2015/08/09 13:31:18 jaapb 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