mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-01 05:45:45 +00:00
- Fix broken behaviour when port is compiled with IMAGEMAGICK option
and ImageMagick is built with OPENMP option PR: 223518 Submitted by: Kalten <kalten@gmx.at>
This commit is contained in:
parent
81b931df49
commit
4a3529f7c3
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=454482
@ -185,6 +185,17 @@ XWIDGETS_CONFIGURE_WITH=xwidgets
|
||||
XWIDGETS_LIB_DEPENDS= libwebkitgtk-3.0.so:www/webkit-gtk3
|
||||
XWIDGETS_IMPLIES= GTK3
|
||||
|
||||
.include <bsd.port.options.mk>
|
||||
|
||||
# has graphics/ImageMagick been compiled with OPENMP?
|
||||
.if ${PORT_OPTIONS:MMAGICK} && ${:!${GREP} -sc " \-fopenmp " ${LOCALBASE}/libdata/pkgconfig/ImageMagick.pc || true!} == "1"
|
||||
_MAGICK_WITH_OPENMP= true
|
||||
.endif
|
||||
|
||||
.ifdef _MAGICK_WITH_OPENMP
|
||||
USES+= compiler:openmp
|
||||
.endif
|
||||
|
||||
# With a desktop entry stage-qa will give a warning about requiring
|
||||
# desktop-file-utils and portlint -C will give a warning about INSTALL_ICONS,
|
||||
# but don't pull in those dependencies when X11 is off.
|
||||
|
Loading…
Reference in New Issue
Block a user