Advertisement
gusibsd

opencv Makefile patch

Sep 10th, 2013
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.79 KB | None | 0 0
  1. --- Makefile.orig 2013-09-10 17:14:06.612342004 +0000
  2. +++ Makefile 2013-09-10 17:14:12.067341384 +0000
  3. @@ -18,6 +18,7 @@
  4. MAKE_JOBS_UNSAFE= yes
  5. USE_BZIP2= yes
  6. USES= cmake pkgconfig
  7. +USE_GCC= 4.6
  8. USE_LDCONFIG= yes
  9.  
  10. WRKSRC= ${WRKDIR}/OpenCV-${DISTVERSION}
  11. @@ -208,6 +209,7 @@
  12. -e 's:-pthread:${PTHREAD_LIBS}:g' \
  13. -e 's:$${OPENCV_LIB_INSTALL_PATH}/pkgconfig:$${CMAKE_INSTALL_PREFIX}/libdata/pkgconfig:g' \
  14. -e 's:share/OpenCV/doc:share/doc/opencv:g' \
  15. + -e 's:PCHSupport_FOUND:NOT PCHSupport_FOUND:g' \
  16. ${WRKSRC}/CMakeLists.txt
  17. @${REINPLACE_CMD} -e 's|${PORTNAME}/samples|examples/${PORTNAME}|g' \
  18. ${WRKSRC}/samples/*/CMakeLists.txt \
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement