From owner-svn-ports-all@freebsd.org Wed Nov 23 12:48:00 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D89C0C4FAA5; Wed, 23 Nov 2016 12:48:00 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 8F8A38C1; Wed, 23 Nov 2016 12:48:00 +0000 (UTC) (envelope-from jbeich@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id uANClxIN035544; Wed, 23 Nov 2016 12:47:59 GMT (envelope-from jbeich@FreeBSD.org) Received: (from jbeich@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id uANClxRq035543; Wed, 23 Nov 2016 12:47:59 GMT (envelope-from jbeich@FreeBSD.org) Message-Id: <201611231247.uANClxRq035543@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: jbeich set sender to jbeich@FreeBSD.org using -f From: Jan Beich Date: Wed, 23 Nov 2016 12:47:59 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r426914 - head/graphics/mypaint X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 23 Nov 2016 12:48:01 -0000 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