2012-09-26 09:02:36 +02:00
|
|
|
# Created by: Alexey Dokuchaev <danfe@FreeBSD.org>
|
2010-03-11 23:46:20 +01:00
|
|
|
# $FreeBSD$
|
|
|
|
|
|
|
|
PORTNAME= darktable
|
2018-06-06 17:31:57 +02:00
|
|
|
PORTVERSION= 2.4.4
|
Bump PORTREVISION for ports depending on the canonical version of GCC
defined via Mk/bsd.default-versions.mk which has moved from GCC 7.4 t
GCC 8.2 under most circumstances.
This includes ports
- with USE_GCC=yes or USE_GCC=any,
- with USES=fortran,
- using Mk/bsd.octave.mk which in turn features USES=fortran, and
- with USES=compiler specifying openmp, nestedfct, c11, c++0x, c++11-lang,
c++11-lib, c++14-lang, c++17-lang, or gcc-c++11-lib
plus, as a double check, everything INDEX-11 showed depending on lang/gcc7.
PR: 231590
2018-12-12 02:35:33 +01:00
|
|
|
PORTREVISION= 3
|
2010-03-11 23:46:20 +01:00
|
|
|
CATEGORIES= graphics
|
2016-02-13 15:50:15 +01:00
|
|
|
MASTER_SITES= https://github.com/darktable-org/${PORTNAME}/releases/download/release-${PORTVERSION:C/\.rc/rc/}/
|
2010-03-11 23:46:20 +01:00
|
|
|
|
graphics/darktable: Update to 1.4.2
The following changes were made to options:
o Remove GCC option (see below)
o Remove KWALLET option (unused)
o Rename FACEBOOK option to FB_PICASA, because both export features
depend on json-glib.
o Add COLORD option (color management)
o Add GRAPHMAGICK option (support GraphicsMagick's image formats)
o Add LUA option (embed Lua to add scripting)
o Add OPENEXR option (support HDR image format)
o Add SQUISH option (use libsquish to compress thumbnails)
o Add WEBP option (support WebP image format)
The patch enables more options by default, because I think it's more
sensible for a photographer using binary packages:
o COLORD
o FB_PICASA
o FLICKR
o GEO
o GPHOTO (already on)
o LUA
o NLS
o OPENEXR
o OPENJPEG
o RAWSPEED (already on)
o WEBP
The GCC option was removed because the usage of GCC along with libc++
in FreeBSD 10 and -CURRENT is unstable (this isn't a general truth,
just valid in the case of darktable). In FreeBSD up-to 9, the usage of
lang/gcc is mandatory anyway, because GCC 4.2.1 support is best effort
only (upstream).
Ninja is now used to build darktable, instead of make. This is not mandatory
of course, but brings a 33% build time improvement (at least for me).
pkg-plist is generated with "make makeplist" this time. That's why the
diff seems large. In fact most of the content remains the same, just with
a different order.
All patches were committed upstream and are removed, except one which
comes from upstream but isn't part of release 1.4.2.
The port is now "stagified".
Finally, I take maintainership of it.
PR: ports/186979
Phabricator: D107
Reviewed by: danfe@ (previous version), antoine@
Approved by: antoine@
2014-06-01 20:52:21 +02:00
|
|
|
MAINTAINER= dumbbell@FreeBSD.org
|
2012-09-26 09:02:36 +02:00
|
|
|
COMMENT= Virtual lighttable and darkroom for photographers
|
2010-03-11 23:46:20 +01:00
|
|
|
|
2010-12-24 16:48:17 +01:00
|
|
|
LICENSE= GPLv3
|
|
|
|
|
2018-01-28 14:19:56 +01:00
|
|
|
BUILD_DEPENDS= ${LOCALBASE}/libdata/pkgconfig/iso-codes.pc:misc/iso-codes \
|
|
|
|
xsltproc:textproc/libxslt \
|
2017-01-06 01:31:26 +01:00
|
|
|
po4a-translate:textproc/po4a
|
2016-04-01 16:00:51 +02:00
|
|
|
LIB_DEPENDS= libcurl.so:ftp/curl \
|
|
|
|
libexiv2.so:graphics/exiv2 \
|
|
|
|
libjson-glib-1.0.so:devel/json-glib \
|
|
|
|
liblcms2.so:graphics/lcms2 \
|
|
|
|
liblensfun.so:graphics/lensfun \
|
2017-12-01 08:19:53 +01:00
|
|
|
libpng.so:graphics/png \
|
2016-04-01 16:00:51 +02:00
|
|
|
libpugixml.so:textproc/pugixml \
|
2016-08-05 20:35:54 +02:00
|
|
|
libsoup-2.4.so:devel/libsoup \
|
2016-04-01 16:00:51 +02:00
|
|
|
libtiff.so:graphics/tiff
|
2010-03-11 23:46:20 +01:00
|
|
|
|
2017-06-27 00:37:10 +02:00
|
|
|
ONLY_FOR_ARCHS= amd64
|
2016-02-13 15:50:15 +01:00
|
|
|
ONLY_FOR_ARCHS_REASON= uses SSE instructions and 64-bit address space
|
2012-05-11 16:17:03 +02:00
|
|
|
|
2018-12-25 21:25:39 +01:00
|
|
|
USES= cmake compiler:c++11-lib desktop-file-utils \
|
2017-06-25 23:07:58 +02:00
|
|
|
jpeg pkgconfig sqlite tar:xz
|
2016-08-05 20:35:54 +02:00
|
|
|
USE_GL= glu
|
|
|
|
USE_GNOME= cairo gtk30 intltool librsvg2 libxml2
|
|
|
|
USE_XORG= ice sm x11 xext xrandr
|
2011-07-27 10:32:52 +02:00
|
|
|
USE_LDCONFIG= ${PREFIX}/lib/${PORTNAME}
|
2010-12-24 16:48:17 +01:00
|
|
|
INSTALLS_ICONS= yes
|
2010-03-11 23:46:20 +01:00
|
|
|
|
2017-01-06 01:31:26 +01:00
|
|
|
OPTIONS_DEFINE= COLORD DOCS FLICKR GEO GPHOTO GRAPHMAGICK \
|
|
|
|
LIBSECRET LUA NLS OPENEXR OPENJPEG PRINT WEBP
|
2012-09-26 09:02:36 +02:00
|
|
|
|
graphics/darktable: Update to 1.4.2
The following changes were made to options:
o Remove GCC option (see below)
o Remove KWALLET option (unused)
o Rename FACEBOOK option to FB_PICASA, because both export features
depend on json-glib.
o Add COLORD option (color management)
o Add GRAPHMAGICK option (support GraphicsMagick's image formats)
o Add LUA option (embed Lua to add scripting)
o Add OPENEXR option (support HDR image format)
o Add SQUISH option (use libsquish to compress thumbnails)
o Add WEBP option (support WebP image format)
The patch enables more options by default, because I think it's more
sensible for a photographer using binary packages:
o COLORD
o FB_PICASA
o FLICKR
o GEO
o GPHOTO (already on)
o LUA
o NLS
o OPENEXR
o OPENJPEG
o RAWSPEED (already on)
o WEBP
The GCC option was removed because the usage of GCC along with libc++
in FreeBSD 10 and -CURRENT is unstable (this isn't a general truth,
just valid in the case of darktable). In FreeBSD up-to 9, the usage of
lang/gcc is mandatory anyway, because GCC 4.2.1 support is best effort
only (upstream).
Ninja is now used to build darktable, instead of make. This is not mandatory
of course, but brings a 33% build time improvement (at least for me).
pkg-plist is generated with "make makeplist" this time. That's why the
diff seems large. In fact most of the content remains the same, just with
a different order.
All patches were committed upstream and are removed, except one which
comes from upstream but isn't part of release 1.4.2.
The port is now "stagified".
Finally, I take maintainership of it.
PR: ports/186979
Phabricator: D107
Reviewed by: danfe@ (previous version), antoine@
Approved by: antoine@
2014-06-01 20:52:21 +02:00
|
|
|
GEO_DESC= Support geotagging
|
2014-12-15 18:50:58 +01:00
|
|
|
LIBSECRET_DESC= Support libsecret as password backend
|
2012-09-26 09:02:36 +02:00
|
|
|
|
2016-05-23 22:35:01 +02:00
|
|
|
OPTIONS_DEFAULT=COLORD FLICKR GEO GPHOTO LUA OPENEXR OPENJPEG \
|
2017-01-06 01:31:26 +01:00
|
|
|
PRINT WEBP
|
2014-06-12 11:10:15 +02:00
|
|
|
OPTIONS_SUB= yes
|
2011-07-26 12:11:13 +02:00
|
|
|
|
2016-02-13 15:50:15 +01:00
|
|
|
WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION:C/\.rc/~rc/}
|
|
|
|
|
graphics/darktable: Update to 1.4.2
The following changes were made to options:
o Remove GCC option (see below)
o Remove KWALLET option (unused)
o Rename FACEBOOK option to FB_PICASA, because both export features
depend on json-glib.
o Add COLORD option (color management)
o Add GRAPHMAGICK option (support GraphicsMagick's image formats)
o Add LUA option (embed Lua to add scripting)
o Add OPENEXR option (support HDR image format)
o Add SQUISH option (use libsquish to compress thumbnails)
o Add WEBP option (support WebP image format)
The patch enables more options by default, because I think it's more
sensible for a photographer using binary packages:
o COLORD
o FB_PICASA
o FLICKR
o GEO
o GPHOTO (already on)
o LUA
o NLS
o OPENEXR
o OPENJPEG
o RAWSPEED (already on)
o WEBP
The GCC option was removed because the usage of GCC along with libc++
in FreeBSD 10 and -CURRENT is unstable (this isn't a general truth,
just valid in the case of darktable). In FreeBSD up-to 9, the usage of
lang/gcc is mandatory anyway, because GCC 4.2.1 support is best effort
only (upstream).
Ninja is now used to build darktable, instead of make. This is not mandatory
of course, but brings a 33% build time improvement (at least for me).
pkg-plist is generated with "make makeplist" this time. That's why the
diff seems large. In fact most of the content remains the same, just with
a different order.
All patches were committed upstream and are removed, except one which
comes from upstream but isn't part of release 1.4.2.
The port is now "stagified".
Finally, I take maintainership of it.
PR: ports/186979
Phabricator: D107
Reviewed by: danfe@ (previous version), antoine@
Approved by: antoine@
2014-06-01 20:52:21 +02:00
|
|
|
CMAKE_ARGS+= -DBINARY_PACKAGE_BUILD=1
|
2014-12-15 18:50:58 +01:00
|
|
|
CMAKE_ARGS+= -DBUILD_CMSTEST:BOOL=ON
|
|
|
|
CMAKE_ARGS+= -DUSE_KWALLET:BOOL=ON
|
2017-01-06 01:31:26 +01:00
|
|
|
LDFLAGS+= -L${LOCALBASE}/lib
|
graphics/darktable: Update to 1.4.2
The following changes were made to options:
o Remove GCC option (see below)
o Remove KWALLET option (unused)
o Rename FACEBOOK option to FB_PICASA, because both export features
depend on json-glib.
o Add COLORD option (color management)
o Add GRAPHMAGICK option (support GraphicsMagick's image formats)
o Add LUA option (embed Lua to add scripting)
o Add OPENEXR option (support HDR image format)
o Add SQUISH option (use libsquish to compress thumbnails)
o Add WEBP option (support WebP image format)
The patch enables more options by default, because I think it's more
sensible for a photographer using binary packages:
o COLORD
o FB_PICASA
o FLICKR
o GEO
o GPHOTO (already on)
o LUA
o NLS
o OPENEXR
o OPENJPEG
o RAWSPEED (already on)
o WEBP
The GCC option was removed because the usage of GCC along with libc++
in FreeBSD 10 and -CURRENT is unstable (this isn't a general truth,
just valid in the case of darktable). In FreeBSD up-to 9, the usage of
lang/gcc is mandatory anyway, because GCC 4.2.1 support is best effort
only (upstream).
Ninja is now used to build darktable, instead of make. This is not mandatory
of course, but brings a 33% build time improvement (at least for me).
pkg-plist is generated with "make makeplist" this time. That's why the
diff seems large. In fact most of the content remains the same, just with
a different order.
All patches were committed upstream and are removed, except one which
comes from upstream but isn't part of release 1.4.2.
The port is now "stagified".
Finally, I take maintainership of it.
PR: ports/186979
Phabricator: D107
Reviewed by: danfe@ (previous version), antoine@
Approved by: antoine@
2014-06-01 20:52:21 +02:00
|
|
|
|
2016-08-05 20:35:54 +02:00
|
|
|
COLORD_LIB_DEPENDS= libcolord.so:graphics/colord \
|
|
|
|
libcolord-gtk.so:graphics/colord-gtk
|
2014-06-12 11:10:15 +02:00
|
|
|
COLORD_CMAKE_OFF= -DUSE_COLORD:BOOL=OFF
|
2011-07-27 10:32:52 +02:00
|
|
|
|
2016-04-01 16:00:51 +02:00
|
|
|
FLICKR_LIB_DEPENDS= libflickcurl.so:www/flickcurl
|
2014-06-12 11:10:15 +02:00
|
|
|
FLICKR_CMAKE_OFF= -DUSE_FLICKR:BOOL=OFF
|
2012-12-04 10:46:31 +01:00
|
|
|
|
2016-08-05 20:35:54 +02:00
|
|
|
GEO_LIB_DEPENDS= libosmgpsmap-1.0.so:x11-toolkits/osm-gps-map
|
2017-01-06 01:31:26 +01:00
|
|
|
GEO_CMAKE_OFF= -DUSE_MAP:BOOL=OFF
|
2011-07-26 12:11:13 +02:00
|
|
|
|
2016-04-01 16:00:51 +02:00
|
|
|
GPHOTO_LIB_DEPENDS= libgphoto2.so:graphics/libgphoto2
|
2014-06-12 11:10:15 +02:00
|
|
|
GPHOTO_CMAKE_OFF= -DUSE_CAMERA_SUPPORT:BOOL=OFF
|
2011-07-27 10:32:52 +02:00
|
|
|
|
2016-04-01 16:00:51 +02:00
|
|
|
GRAPHMAGICK_LIB_DEPENDS=libGraphicsMagick.so:graphics/GraphicsMagick
|
2014-06-12 11:10:15 +02:00
|
|
|
GRAPHMAGICK_CMAKE_OFF= -DUSE_GRAPHICSMAGICK:BOOL=OFF
|
2012-12-04 10:46:31 +01:00
|
|
|
|
2016-04-01 16:00:51 +02:00
|
|
|
LIBSECRET_LIB_DEPENDS= libsecret-1.so:security/libsecret
|
2014-12-15 18:50:58 +01:00
|
|
|
LIBSECRET_CMAKE_OFF= -DUSE_LIBSECRET:BOOL=OFF
|
|
|
|
|
2017-12-28 13:05:53 +01:00
|
|
|
LUA_USES= lua:53
|
2014-06-12 11:10:15 +02:00
|
|
|
LUA_CMAKE_OFF= -DUSE_LUA:BOOL=OFF
|
graphics/darktable: Update to 1.4.2
The following changes were made to options:
o Remove GCC option (see below)
o Remove KWALLET option (unused)
o Rename FACEBOOK option to FB_PICASA, because both export features
depend on json-glib.
o Add COLORD option (color management)
o Add GRAPHMAGICK option (support GraphicsMagick's image formats)
o Add LUA option (embed Lua to add scripting)
o Add OPENEXR option (support HDR image format)
o Add SQUISH option (use libsquish to compress thumbnails)
o Add WEBP option (support WebP image format)
The patch enables more options by default, because I think it's more
sensible for a photographer using binary packages:
o COLORD
o FB_PICASA
o FLICKR
o GEO
o GPHOTO (already on)
o LUA
o NLS
o OPENEXR
o OPENJPEG
o RAWSPEED (already on)
o WEBP
The GCC option was removed because the usage of GCC along with libc++
in FreeBSD 10 and -CURRENT is unstable (this isn't a general truth,
just valid in the case of darktable). In FreeBSD up-to 9, the usage of
lang/gcc is mandatory anyway, because GCC 4.2.1 support is best effort
only (upstream).
Ninja is now used to build darktable, instead of make. This is not mandatory
of course, but brings a 33% build time improvement (at least for me).
pkg-plist is generated with "make makeplist" this time. That's why the
diff seems large. In fact most of the content remains the same, just with
a different order.
All patches were committed upstream and are removed, except one which
comes from upstream but isn't part of release 1.4.2.
The port is now "stagified".
Finally, I take maintainership of it.
PR: ports/186979
Phabricator: D107
Reviewed by: danfe@ (previous version), antoine@
Approved by: antoine@
2014-06-01 20:52:21 +02:00
|
|
|
|
2016-08-05 20:35:54 +02:00
|
|
|
# FIXME: Even with NLS turned off, darktable(1) is still linked to
|
|
|
|
# libintl.so.
|
2014-06-12 11:10:15 +02:00
|
|
|
NLS_USES= gettext
|
2016-08-05 20:35:54 +02:00
|
|
|
NLS_USES_OFF= gettext-runtime
|
2014-06-12 11:10:15 +02:00
|
|
|
NLS_CMAKE_OFF= -DUSE_NLS:BOOL=OFF
|
2016-08-05 20:35:54 +02:00
|
|
|
NLS_LDFLAGS= -L${LOCALBASE}/lib -lintl
|
2013-05-01 09:27:27 +02:00
|
|
|
|
2018-09-22 12:15:22 +02:00
|
|
|
OPENEXR_LIB_DEPENDS= libIlmImf.so:graphics/openexr \
|
|
|
|
libIlmThread.so:graphics/ilmbase
|
2014-06-12 11:10:15 +02:00
|
|
|
OPENEXR_CMAKE_OFF= -DUSE_OPENEXR:BOOL=OFF
|
graphics/darktable: Update to 1.4.2
The following changes were made to options:
o Remove GCC option (see below)
o Remove KWALLET option (unused)
o Rename FACEBOOK option to FB_PICASA, because both export features
depend on json-glib.
o Add COLORD option (color management)
o Add GRAPHMAGICK option (support GraphicsMagick's image formats)
o Add LUA option (embed Lua to add scripting)
o Add OPENEXR option (support HDR image format)
o Add SQUISH option (use libsquish to compress thumbnails)
o Add WEBP option (support WebP image format)
The patch enables more options by default, because I think it's more
sensible for a photographer using binary packages:
o COLORD
o FB_PICASA
o FLICKR
o GEO
o GPHOTO (already on)
o LUA
o NLS
o OPENEXR
o OPENJPEG
o RAWSPEED (already on)
o WEBP
The GCC option was removed because the usage of GCC along with libc++
in FreeBSD 10 and -CURRENT is unstable (this isn't a general truth,
just valid in the case of darktable). In FreeBSD up-to 9, the usage of
lang/gcc is mandatory anyway, because GCC 4.2.1 support is best effort
only (upstream).
Ninja is now used to build darktable, instead of make. This is not mandatory
of course, but brings a 33% build time improvement (at least for me).
pkg-plist is generated with "make makeplist" this time. That's why the
diff seems large. In fact most of the content remains the same, just with
a different order.
All patches were committed upstream and are removed, except one which
comes from upstream but isn't part of release 1.4.2.
The port is now "stagified".
Finally, I take maintainership of it.
PR: ports/186979
Phabricator: D107
Reviewed by: danfe@ (previous version), antoine@
Approved by: antoine@
2014-06-01 20:52:21 +02:00
|
|
|
|
2017-01-06 01:31:26 +01:00
|
|
|
OPENJPEG_LIB_DEPENDS= libopenjp2.so:graphics/openjpeg
|
2014-06-12 11:10:15 +02:00
|
|
|
OPENJPEG_CMAKE_OFF= -DUSE_OPENJPEG:BOOL=OFF
|
graphics/darktable: Update to 1.4.2
The following changes were made to options:
o Remove GCC option (see below)
o Remove KWALLET option (unused)
o Rename FACEBOOK option to FB_PICASA, because both export features
depend on json-glib.
o Add COLORD option (color management)
o Add GRAPHMAGICK option (support GraphicsMagick's image formats)
o Add LUA option (embed Lua to add scripting)
o Add OPENEXR option (support HDR image format)
o Add SQUISH option (use libsquish to compress thumbnails)
o Add WEBP option (support WebP image format)
The patch enables more options by default, because I think it's more
sensible for a photographer using binary packages:
o COLORD
o FB_PICASA
o FLICKR
o GEO
o GPHOTO (already on)
o LUA
o NLS
o OPENEXR
o OPENJPEG
o RAWSPEED (already on)
o WEBP
The GCC option was removed because the usage of GCC along with libc++
in FreeBSD 10 and -CURRENT is unstable (this isn't a general truth,
just valid in the case of darktable). In FreeBSD up-to 9, the usage of
lang/gcc is mandatory anyway, because GCC 4.2.1 support is best effort
only (upstream).
Ninja is now used to build darktable, instead of make. This is not mandatory
of course, but brings a 33% build time improvement (at least for me).
pkg-plist is generated with "make makeplist" this time. That's why the
diff seems large. In fact most of the content remains the same, just with
a different order.
All patches were committed upstream and are removed, except one which
comes from upstream but isn't part of release 1.4.2.
The port is now "stagified".
Finally, I take maintainership of it.
PR: ports/186979
Phabricator: D107
Reviewed by: danfe@ (previous version), antoine@
Approved by: antoine@
2014-06-01 20:52:21 +02:00
|
|
|
|
2016-04-01 16:00:51 +02:00
|
|
|
PRINT_LIB_DEPENDS= libcups.so:print/cups
|
2016-02-13 15:50:15 +01:00
|
|
|
PRINT_CMAKE_OFF= -DBUILD_PRINT:BOOL=OFF
|
|
|
|
|
2016-04-01 16:00:51 +02:00
|
|
|
WEBP_LIB_DEPENDS= libwebp.so:graphics/webp
|
2014-06-12 11:10:15 +02:00
|
|
|
WEBP_CMAKE_OFF= -DUSE_WEBP:BOOL=OFF
|
graphics/darktable: Update to 1.4.2
The following changes were made to options:
o Remove GCC option (see below)
o Remove KWALLET option (unused)
o Rename FACEBOOK option to FB_PICASA, because both export features
depend on json-glib.
o Add COLORD option (color management)
o Add GRAPHMAGICK option (support GraphicsMagick's image formats)
o Add LUA option (embed Lua to add scripting)
o Add OPENEXR option (support HDR image format)
o Add SQUISH option (use libsquish to compress thumbnails)
o Add WEBP option (support WebP image format)
The patch enables more options by default, because I think it's more
sensible for a photographer using binary packages:
o COLORD
o FB_PICASA
o FLICKR
o GEO
o GPHOTO (already on)
o LUA
o NLS
o OPENEXR
o OPENJPEG
o RAWSPEED (already on)
o WEBP
The GCC option was removed because the usage of GCC along with libc++
in FreeBSD 10 and -CURRENT is unstable (this isn't a general truth,
just valid in the case of darktable). In FreeBSD up-to 9, the usage of
lang/gcc is mandatory anyway, because GCC 4.2.1 support is best effort
only (upstream).
Ninja is now used to build darktable, instead of make. This is not mandatory
of course, but brings a 33% build time improvement (at least for me).
pkg-plist is generated with "make makeplist" this time. That's why the
diff seems large. In fact most of the content remains the same, just with
a different order.
All patches were committed upstream and are removed, except one which
comes from upstream but isn't part of release 1.4.2.
The port is now "stagified".
Finally, I take maintainership of it.
PR: ports/186979
Phabricator: D107
Reviewed by: danfe@ (previous version), antoine@
Approved by: antoine@
2014-06-01 20:52:21 +02:00
|
|
|
|
2015-11-11 14:16:02 +01:00
|
|
|
.include <bsd.port.pre.mk>
|
|
|
|
|
2017-01-30 22:14:23 +01:00
|
|
|
.if ${ARCH} == amd64 && ${CHOSEN_COMPILER_TYPE} == clang
|
2018-04-29 11:24:57 +02:00
|
|
|
# Enable OpenMP support with Clang 6.0.
|
|
|
|
LLVM_VER= 60
|
2017-01-30 22:14:23 +01:00
|
|
|
BUILD_DEPENDS+= clang${LLVM_VER}:devel/llvm${LLVM_VER}
|
2015-11-11 14:16:02 +01:00
|
|
|
|
2017-01-30 22:14:23 +01:00
|
|
|
CPP= clang-cpp${LLVM_VER}
|
|
|
|
CC= clang${LLVM_VER}
|
|
|
|
CXX= clang++${LLVM_VER}
|
2016-02-13 15:50:15 +01:00
|
|
|
|
2017-01-30 22:14:23 +01:00
|
|
|
# Depend on devel/openmp instead of the full LLVM at runtime. Required
|
|
|
|
# for a consistent libomp experience.
|
|
|
|
LIB_DEPENDS+= libomp.so.0:devel/openmp
|
|
|
|
|
2016-02-13 15:50:15 +01:00
|
|
|
# Last but not least, there is a second change or regression in CMake
|
|
|
|
# 3.4.x: CMAKE_EXE_LINKER_FLAGS is not passed to TRY_COMPILE by default
|
2017-01-06 01:31:26 +01:00
|
|
|
# anymore. The CMP0056 policy must be explicitly set to NEW to ensure
|
2016-02-13 15:50:15 +01:00
|
|
|
# linker flags are passed.
|
|
|
|
# See: https://cmake.org/cmake/help/v3.4/policy/CMP0056.html
|
|
|
|
CMAKE_ARGS+= -DCMAKE_POLICY_DEFAULT_CMP0056:STRING=NEW
|
2015-11-11 14:16:02 +01:00
|
|
|
.endif
|
2011-07-26 12:11:13 +02:00
|
|
|
|
2014-06-12 11:10:15 +02:00
|
|
|
.if defined(WITH_DEBUG)
|
2014-12-15 18:50:58 +01:00
|
|
|
CMAKE_BUILD_TYPE= RelWithDebInfo
|
2014-06-12 11:10:15 +02:00
|
|
|
STRIP=
|
|
|
|
.endif
|
2010-03-11 23:46:20 +01:00
|
|
|
|
2015-11-11 14:16:02 +01:00
|
|
|
.include <bsd.port.post.mk>
|