diff options
author | Martin Matuska <mm@FreeBSD.org> | 2011-06-29 13:15:26 +0000 |
---|---|---|
committer | Martin Matuska <mm@FreeBSD.org> | 2011-06-29 13:15:26 +0000 |
commit | e7d91d63983fabe54b45b49297263401decbea17 (patch) | |
tree | 7ab5fb700d7dc6503c62fea42dfb75dc968d0047 /graphics | |
parent | 32c4e4b39f11c777318b9f71b994f226fc1cdbc9 (diff) |
Notes
Diffstat (limited to 'graphics')
-rw-r--r-- | graphics/opencv/Makefile | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/graphics/opencv/Makefile b/graphics/opencv/Makefile index 979098916b98..51186f568f59 100644 --- a/graphics/opencv/Makefile +++ b/graphics/opencv/Makefile @@ -202,23 +202,6 @@ CMAKE_ARGS+= -DBUILD_TESTS:BOOL=Off \ .include <bsd.port.pre.mk> -# This whole block looks a bit hackish, but it works... -.if ${ARCH} == "amd64" && ${OSVERSION} < 700042 -USE_GCC= 4.2+ -.else -CMAKE_OUTSOURCE= yes -.if ${ARCH} == "i386" && ${OSVERSION} >= 700042 && ${OSVERSION} < 800107 -USE_GCC= 4.4+ -.endif -.endif - -# Any other way to override CFLAGS and CXXFLAGS? -.ifdef(USE_GCC) -CMAKE_SOURCE_PATH= -DCMAKE_C_FLAGS:STRING="${CFLAGS:C/-Wl[^ ]*//g}" \ - -DCMAKE_CXX_FLAGS:STRING="${CXXFLAGS:C/-Wl[^ ]*//g}" \ - ${WRKSRC} -.endif - post-patch: @${MKDIR} ${CONFIGURE_WRKSRC} @${REINPLACE_CMD} -e 's:set(OPENCV_SOVERSION.*:set(OPENCV_SOVERSION "$${OPENCV_VERSION_MAJOR}"):' \ |