summaryrefslogtreecommitdiff
path: root/x11
diff options
context:
space:
mode:
authordholland <dholland>2016-12-31 08:09:14 +0000
committerdholland <dholland>2016-12-31 08:09:14 +0000
commitee50d5d04a7e3fb7908e420a58480885346bacb6 (patch)
tree6da226b87d399d41e58c253af0e50c94ae5148d8 /x11
parentac229d85e99ea2863075f499834b6dd9840ce0a2 (diff)
downloadpkgsrc-ee50d5d04a7e3fb7908e420a58480885346bacb6.tar.gz
Fix seddery.
Diffstat (limited to 'x11')
-rw-r--r--x11/ocaml-graphics/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/x11/ocaml-graphics/Makefile b/x11/ocaml-graphics/Makefile
index c43b556cce3..dff686cf397 100644
--- a/x11/ocaml-graphics/Makefile
+++ b/x11/ocaml-graphics/Makefile
@@ -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