summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorwiz <wiz>2014-01-23 15:14:30 +0000
committerwiz <wiz>2014-01-23 15:14:30 +0000
commit71bf137cceaa51bcab380b16f1d29c77bfaa12b6 (patch)
treedbfcb0b23feb9640109b804676a195beb23a2bd5 /graphics
parentfff1217c0270ee091ba8291dafb5c23963ff0d42 (diff)
downloadpkgsrc-71bf137cceaa51bcab380b16f1d29c77bfaa12b6.tar.gz
Improve sed script so it survives OBJDIRs with '-o' in their name.
From Tobias Nygren in PR 48544.
Diffstat (limited to 'graphics')
-rw-r--r--graphics/opencv/hacks.mk4
1 files changed, 2 insertions, 2 deletions
diff --git a/graphics/opencv/hacks.mk b/graphics/opencv/hacks.mk
index c03344425e0..c903cd6f5b2 100644
--- a/graphics/opencv/hacks.mk
+++ b/graphics/opencv/hacks.mk
@@ -1,4 +1,4 @@
-# $NetBSD: hacks.mk,v 1.1 2012/10/10 18:11:08 wiz Exp $
+# $NetBSD: hacks.mk,v 1.2 2014/01/23 15:14:30 wiz Exp $
.if !defined(OPENCV_HACKS_MK)
OPENCV_HACKS_MK= defined
@@ -13,7 +13,7 @@ SUBST_CLASSES+= opt-hack
SUBST_STAGE.opt-hack= post-configure
SUBST_MESSAGE.opt-hack= Working around gcc-4.5.4 bug.
SUBST_FILES.opt-hack= ${WRKSRC}/modules/calib3d/CMakeFiles/opencv_calib3d.dir/build.make
-SUBST_SED.opt-hack= -e '/stereosgbm.cpp.o/s/-o/-fno-tree-pre -o/'
+SUBST_SED.opt-hack= -e '/stereosgbm.cpp.o/s/-o /-fno-tree-pre -o /'
.endif
.endif # OPENCV_HACKS_MK