Date: Wed, 23 Nov 2016 12:47:59 +0000 (UTC) From: Jan Beich <jbeich@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r426914 - head/graphics/mypaint Message-ID: <201611231247.uANClxRq035543@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: jbeich Date: Wed Nov 23 12:47:59 2016 New Revision: 426914 URL: https://svnweb.freebsd.org/changeset/ports/426914 Log: graphics/mypaint: allow Clang build via OPENMP=off Modified: head/graphics/mypaint/Makefile (contents, props changed) Modified: head/graphics/mypaint/Makefile ============================================================================== --- head/graphics/mypaint/Makefile Wed Nov 23 12:47:48 2016 (r426913) +++ head/graphics/mypaint/Makefile Wed Nov 23 12:47:59 2016 (r426914) @@ -3,6 +3,7 @@ PORTNAME= mypaint PORTVERSION= 1.2.0 +PORTREVISION= 1 CATEGORIES= graphics MASTER_SITES= https://github.com/mypaint/mypaint/releases/download/${PORTVERSION:S/^/v/}/ @@ -21,26 +22,32 @@ LIB_DEPENDS= libjson-c.so:devel/json-c \ RUN_DEPENDS= ${PYNUMPY} USE_GNOME= gtk30 pygobject3 librsvg2:run +CFLAGS+= ${CFLAGS_${CHOSEN_COMPILER_TYPE}} +CFLAGS_gcc= -std=c99 MAKE_ARGS= prefix=${PREFIX} \ enable_profiling=False \ use_sharedlib=True \ python_binary="${PYTHON_CMD}" \ python_config="${PYTHON_CMD}-config" -# XXX gcc-c++11-lib to fix runtime issues with old -lgcc_s and Clang -USES= compiler:gcc-c++11-lib desktop-file-utils gettext localbase \ +# XXX Embed RPATH via USES=fortran for py-numpy to load libgcc_s.so from ports +USES= desktop-file-utils fortran gettext localbase \ pkgconfig python:2 scons tar:xz -USE_CSTD= c99 INSTALL_TARGET= ${STAGEDIR} --install-sandbox=${STAGEDIR} USE_LDCONFIG= yes INSTALLS_ICONS= yes -OPTIONS_DEFINE= GEGL +OPTIONS_DEFINE= GEGL OPENMP +OPTIONS_DEFAULT= OPENMP OPTIONS_SUB= yes GEGL_DESC= Graph based image processing framework support GEGL_LIB_DEPENDS= libgegl-0.3.so:graphics/gegl3 GEGL_MAKE_ARGS= enable_gegl=True +OPENMP_USES= compiler:openmp +OPENMP_USES_OFF= compiler # XXX ports/199603 +OPENMP_MAKE_ARGS_OFF= enable_openmp=False + post-install: ${INSTALL_LIB} ${WRKSRC}/brushlib/libmypaint*.so ${STAGEDIR}${PREFIX}/lib ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/mypaint/_mypaintlib.so
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201611231247.uANClxRq035543>