Date: Thu, 12 Sep 2013 17:18:17 GMT From: Justin Hibbits <jhibbits@FreeBSD.org> To: freebsd-gnats-submit@FreeBSD.org Subject: ports/182046: Make OpenCV build on powerpc64 Message-ID: <201309121718.r8CHIHcH075569@oldred.freebsd.org> Resent-Message-ID: <201309121720.r8CHK0d0023850@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>Number: 182046 >Category: ports >Synopsis: Make OpenCV build on powerpc64 >Confidential: no >Severity: non-critical >Priority: low >Responsible: freebsd-ports-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Sep 12 17:20:00 UTC 2013 >Closed-Date: >Last-Modified: >Originator: Justin Hibbits >Release: 10-CURRENT >Organization: >Environment: >Description: opencv makefile uses '-mcpu=G3', but gcc complains '64-bit CPU required'. Removing this fixes the build, and has no adverse affect on the ppc32 build. >How-To-Repeat: >Fix: Apply attached patch. Patch attached with submission follows: --- /usr/local/poudriere/ports/default/graphics/opencv/Makefile 2013-09-01 15:50:06.000000000 -0700 +++ Makefile 2013-09-12 07:06:54.000000000 -0700 @@ -208,6 +208,7 @@ -e 's:-pthread:${PTHREAD_LIBS}:g' \ -e 's:$${OPENCV_LIB_INSTALL_PATH}/pkgconfig:$${CMAKE_INSTALL_PREFIX}/libdata/pkgconfig:g' \ -e 's:share/OpenCV/doc:share/doc/opencv:g' \ + -e 's:-mcpu=G3::g' \ ${WRKSRC}/CMakeLists.txt @${REINPLACE_CMD} -e 's|${PORTNAME}/samples|examples/${PORTNAME}|g' \ ${WRKSRC}/samples/*/CMakeLists.txt \ >Release-Note: >Audit-Trail: >Unformatted:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201309121718.r8CHIHcH075569>