pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/x11/ocaml-graphics Fix seddery.



details:   https://anonhg.NetBSD.org/pkgsrc/rev/a2780b0aac16
branches:  trunk
changeset: 356431:a2780b0aac16
user:      dholland <dholland%pkgsrc.org@localhost>
date:      Sat Dec 31 08:09:14 2016 +0000

description:
Fix seddery.

diffstat:

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

diffs (18 lines):

diff -r 8c02be4e0d67 -r a2780b0aac16 x11/ocaml-graphics/Makefile
--- a/x11/ocaml-graphics/Makefile       Sat Dec 31 06:11:21 2016 +0000
+++ b/x11/ocaml-graphics/Makefile       Sat Dec 31 08:09:14 2016 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.28 2016/12/30 11:16:57 jaapb Exp $
+# $NetBSD: Makefile,v 1.29 2016/12/31 08:09:14 dholland Exp $
 
 .include "../../lang/ocaml/Makefile.common"
 DISTINFO_FILE= ${PKGDIR}/../../lang/ocaml/distinfo
@@ -58,7 +58,7 @@
 SUBST_STAGE.comp=      post-patch
 SUBST_FILES.comp=      otherlibs/Makefile
 SUBST_SED.comp=                -e 's,^CAMLC=.*,CAMLC=ocamlc,g'
-SUBST_SED.comp+=       -e 's,^CAMLOPT=.*,CAMLOPT=ocamlopt,g'
+SUBST_SED.comp+=       -e '/^CAMLOPT=/{;N;s,^CAMLOPT=.*,CAMLOPT=ocamlopt,g;}'
 SUBST_MESSAGE.comp=    Fixing CAMLC OCAMLOPT in otherlibs/Makefile.
 
 INSTALLATION_DIRS+=    lib/ocaml/stublibs



Home | Main Index | Thread Index | Old Index