diff --git a/graphics/art/Makefile b/graphics/art/Makefile index bfd712f29d6d..914b7a061af4 100644 --- a/graphics/art/Makefile +++ b/graphics/art/Makefile @@ -1,54 +1,59 @@ PORTNAME= art DISTVERSION= 1.19.3 -PORTREVISION= 1 +PORTREVISION= 2 CATEGORIES= graphics MASTER_SITES= https://bitbucket.org/agriggio/art/downloads/ PKGNAMESUFFIX= -raw-image-editor DISTNAME= ${PORTNAME:tu}-${DISTVERSION} MAINTAINER= yuri@FreeBSD.org COMMENT= Raw image processing program WWW= https://bitbucket.org/agriggio/art/wiki/Home LICENSE= GPLv3 LICENSE_FILE= ${WRKSRC}/LICENSE.txt BROKEN_armv7= compilation fails: use of overloaded operator '[]' is ambiguous, see https://bitbucket.org/agriggio/art/issues/256/build-fails-on-32-bit-architectures-use-of BROKEN_i386= ld: error: undefined symbol: __atomic_load EXTRACT_DEPENDS= gtar:archivers/gtar # bsdtar(1) complains about hard links to itself BUILD_DEPENDS= ${LOCALBASE}/include/fftw3.h:math/fftw3 LIB_DEPENDS= libcanberra.so:audio/libcanberra \ libcanberra-gtk3.so:audio/libcanberra-gtk3 \ libraw_r.so:graphics/libraw \ libexiv2.so:graphics/exiv2 \ libexpat.so:textproc/expat2 \ libfftw3f.so:math/fftw3-float \ libharfbuzz.so:print/harfbuzz \ liblensfun.so:graphics/lensfun \ liblcms2.so:graphics/lcms2 \ libmimalloc.so:devel/mimalloc \ libpng.so:graphics/png \ libtiff.so:graphics/tiff USES= cmake compiler:c++11-lang desktop-file-utils gnome jpeg pkgconfig tar:xz xorg USE_GNOME= atk atkmm cairo cairomm glibmm gtkmm30 librsvg2 USE_XORG= x11 EXTRACT_CMD= gtar LDFLAGS+= -lpthread # otherwise build breaks on some systems: error: undefined symbol: pthread_create +OPTIONS_DEFINE= LTO +OPTIONS_DEFAULT= LTO + +LTO_CMAKE_BOOL= WITH_LTO + .if exists(/usr/include/omp.h) -OPTIONS_DEFINE= OPENMP -OPTIONS_DEFAULT= OPENMP +OPTIONS_DEFINE+= OPENMP +OPTIONS_DEFAULT+= OPENMP OPENMP_CMAKE_BOOL= OPTION_OMP .else CMAKE_OFF= OPTION_OMP .endif post-install: ${RM} -r ${STAGEDIR}${PREFIX}/share/doc/ART .include