pkgsrc-Changes archive

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

CVS commit: pkgsrc/x11/ocaml-graphics



Module Name:    pkgsrc
Committed By:   dholland
Date:           Sat Dec 31 08:09:14 UTC 2016

Modified Files:
        pkgsrc/x11/ocaml-graphics: Makefile

Log Message:
Fix seddery.


To generate a diff of this commit:
cvs rdiff -u -r1.28 -r1.29 pkgsrc/x11/ocaml-graphics/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/x11/ocaml-graphics/Makefile
diff -u pkgsrc/x11/ocaml-graphics/Makefile:1.28 pkgsrc/x11/ocaml-graphics/Makefile:1.29
--- pkgsrc/x11/ocaml-graphics/Makefile:1.28     Fri Dec 30 11:16:57 2016
+++ pkgsrc/x11/ocaml-graphics/Makefile  Sat Dec 31 08:09:14 2016
@@ -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_CLASSES+=               comp
 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