pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/x11/ocaml-graphics More seddery. Now it builds for me.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/dca025cd3df2
branches:  trunk
changeset: 356434:dca025cd3df2
user:      dholland <dholland%pkgsrc.org@localhost>
date:      Sat Dec 31 09:15:00 2016 +0000

description:
More seddery. Now it builds for me.

diffstat:

 x11/ocaml-graphics/Makefile |  11 +++++++++--
 1 files changed, 9 insertions(+), 2 deletions(-)

diffs (25 lines):

diff -r 9b0c3ce69085 -r dca025cd3df2 x11/ocaml-graphics/Makefile
--- a/x11/ocaml-graphics/Makefile       Sat Dec 31 08:33:34 2016 +0000
+++ b/x11/ocaml-graphics/Makefile       Sat Dec 31 09:15:00 2016 +0000
@@ -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_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
 



Home | Main Index | Thread Index | Old Index