summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authordholland <dholland@pkgsrc.org>2016-12-31 09:15:00 +0000
committerdholland <dholland@pkgsrc.org>2016-12-31 09:15:00 +0000
commit3b7020b0898afc22fb2ad7aacde152620f48ed80 (patch)
treedccac7cadda9e27b7f59fe4e91a0867bc3cf5246 /x11
parenta90261d5d3c03d0cf3b896e1ef6f46f3b4acd3ee (diff)
downloadpkgsrc-3b7020b0898afc22fb2ad7aacde152620f48ed80.tar.gz
More seddery. Now it builds for me.
Diffstat (limited to 'x11')
-rw-r--r--x11/ocaml-graphics/Makefile11
1 files changed, 9 insertions, 2 deletions
diff --git a/x11/ocaml-graphics/Makefile b/x11/ocaml-graphics/Makefile
index dff686cf397..bff78a0a365 100644
--- a/x11/ocaml-graphics/Makefile
+++ b/x11/ocaml-graphics/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.29 2016/12/31 08:09:14 dholland Exp $
+# $NetBSD: Makefile,v 1.30 2016/12/31 09:15:00 dholland Exp $
.include "../../lang/ocaml/Makefile.common"
DISTINFO_FILE= ${PKGDIR}/../../lang/ocaml/distinfo
@@ -59,7 +59,14 @@ SUBST_STAGE.comp= post-patch
SUBST_FILES.comp= otherlibs/Makefile
SUBST_SED.comp= -e 's,^CAMLC=.*,CAMLC=ocamlc,g'
SUBST_SED.comp+= -e '/^CAMLOPT=/{;N;s,^CAMLOPT=.*,CAMLOPT=ocamlopt,g;}'
-SUBST_MESSAGE.comp= Fixing CAMLC OCAMLOPT in otherlibs/Makefile.
+SUBST_SED.comp+= -e 's,^MKLIB=.*,MKLIB=ocamlmklib,g'
+SUBST_MESSAGE.comp= Fixing CAMLC OCAMLOPT MKLIB in otherlibs/Makefile.
+
+SUBST_CLASSES+= comp2
+SUBST_STAGE.comp2= post-patch
+SUBST_FILES.comp2= otherlibs/graph/Makefile
+SUBST_SED.comp2= -e 's,..CAMLRUN..*ocamldep,ocamldep,g'
+SUBST_MESSAGE.comp2= Fixing ocamldep in otherlibs/graph/Makefile.
INSTALLATION_DIRS+= lib/ocaml/stublibs