pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/graphics/opencv Improve sed script so it survives OBJD...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6dc0d6034e4a
branches:  trunk
changeset: 629566:6dc0d6034e4a
user:      wiz <wiz%pkgsrc.org@localhost>
date:      Thu Jan 23 15:14:30 2014 +0000

description:
Improve sed script so it survives OBJDIRs with '-o' in their name.
>From Tobias Nygren in PR 48544.

diffstat:

 graphics/opencv/hacks.mk |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 430388fe850a -r 6dc0d6034e4a graphics/opencv/hacks.mk
--- a/graphics/opencv/hacks.mk  Thu Jan 23 14:58:28 2014 +0000
+++ b/graphics/opencv/hacks.mk  Thu Jan 23 15:14:30 2014 +0000
@@ -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_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



Home | Main Index | Thread Index | Old Index