Index: head/graphics/yagf/Makefile =================================================================== --- head/graphics/yagf/Makefile (revision 481618) +++ head/graphics/yagf/Makefile (revision 481619) @@ -1,38 +1,38 @@ # Created by: Boris Samorodov # $FreeBSD$ PORTNAME= yagf PORTVERSION= 0.9.5 CATEGORIES= graphics MASTER_SITES= SF/yagf-ocr MAINTAINER= bsam@FreeBSD.org COMMENT= Graphical interface for an OCR program (cuneiform and tesseract) LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/COPYING -LIB_DEPENDS= libaspell.so:textproc/aspell +ONLY_FOR_ARCHS= amd64 i386 -ONLY_FOR_ARCHS= i386 amd64 +LIB_DEPENDS= libaspell.so:textproc/aspell OPTIONS_MULTI= OCRENGINE OPTIONS_MULTI_OCRENGINE=CUNEIFORM TESSERACT CUNEIFORM_DESC= Cuneiform OCR engine CUNEIFORM_RUN_DEPENDS= cuneiform:graphics/cuneiform TESSERACT_DESC= Tesseract OCR engine TESSERACT_RUN_DEPENDS= tesseract:graphics/tesseract OPTIONS_DEFAULT= CUNEIFORM USES= cmake desktop-file-utils pkgconfig qt:4 USE_LDCONFIG= yes INSTALLS_ICONS= yes USE_QT= corelib gui imageformats linguist_build \ moc_build qmake_build rcc_build uic_build PLIST_FILES= bin/yagf lib/yagf/libxspreload.so share/applications/YAGF.desktop\ share/icons/hicolor/96x96/apps/yagf.png share/pixmaps/yagf.png PORTDATA= * .include Index: head/graphics/yagf/files/patch-CMakeLists.txt =================================================================== --- head/graphics/yagf/files/patch-CMakeLists.txt (revision 481618) +++ head/graphics/yagf/files/patch-CMakeLists.txt (revision 481619) @@ -1,13 +1,22 @@ ---- CMakeLists.txt.orig 2014-02-19 14:15:50.000000000 +0400 -+++ CMakeLists.txt 2014-03-15 16:39:26.911288073 +0400 -@@ -8,8 +8,8 @@ if(MPTIFF_SUPPORT) - set(TIFFIO_SRC src/qxttiffiohandler.cpp) - endif(MPTIFF_SUPPORT) +--- CMakeLists.txt.orig 2015-02-17 01:50:24 UTC ++++ CMakeLists.txt +@@ -2,8 +2,8 @@ project(yagf C CXX) + cmake_minimum_required(VERSION 2.6.0) + #set(QT_QMAKE_EXECUTABLE /usr/bin/qmake-qt4) if (NOT DEFINED ${CMAKE_INSTALL_PREFIX}) -set(CPACK_INSTALL_PREFIX /usr/) -set (CMAKE_INSTALL_PREFIX /usr/) +set(CPACK_INSTALL_PREFIX ${PREFIX}) +set (CMAKE_INSTALL_PREFIX ${PREFIX}) endif() + set (LIB_PATH_SUFFIX ) + if (CMAKE_SIZEOF_VOID_P EQUAL 8) +@@ -13,6 +13,8 @@ if (CMAKE_SIZEOF_VOID_P EQUAL 8) + set_property (GLOBAL PROPERTY FIND_LIBRARY_USE_LIB64_PATHS TRUE) + endif(CMAKE_SIZEOF_VOID_P EQUAL 8) + add_definitions( -DPRILIBRARY_PATH="${CMAKE_INSTALL_PREFIX}lib${LIB_PATH_SUFFIX}/yagf/") ++ ++set(CMAKE_CXX_FLAGS "${CMAKE_CXX_FLAGS} -Wno-c++11-narrowing") + # following 2 lines define where interface translations will be installed set(QML_DESTINATION share/yagf/translations/)