summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authortnn <tnn@pkgsrc.org>2019-01-02 21:06:23 +0000
committertnn <tnn@pkgsrc.org>2019-01-02 21:06:23 +0000
commit88b3670258a40e86cf0726d37efe9c74122aa640 (patch)
treec214e2cef8a28aeeb8deb6d0e7dd5b4d4909d58c /graphics
parent1d92d065693dc3e92f8576a4d1bf11e03b5a7277 (diff)
downloadpkgsrc-88b3670258a40e86cf0726d37efe9c74122aa640.tar.gz
mypaint: catch up with scons update
Diffstat (limited to 'graphics')
-rw-r--r--graphics/mypaint/Makefile14
1 files changed, 8 insertions, 6 deletions
diff --git a/graphics/mypaint/Makefile b/graphics/mypaint/Makefile
index 69606d8eb60..a61af866048 100644
--- a/graphics/mypaint/Makefile
+++ b/graphics/mypaint/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.35 2018/11/14 22:21:43 kleink Exp $
+# $NetBSD: Makefile,v 1.36 2019/01/02 21:06:23 tnn Exp $
DISTNAME= mypaint-1.2.1
PKGREVISION= 2
@@ -16,7 +16,6 @@ LICENSE= gnu-gpl-v2
CONFLICTS+= libmypaint-[0-9]*
-BUILD_DEPENDS+= scons-[0-9]*:../../devel/scons
DEPENDS+= ${PYPKGPREFIX}-gobject3-[0-9]*:../../devel/py-gobject3
USE_LANGUAGES= c c++
@@ -36,23 +35,26 @@ LDFLAGS+= -lintl
REPLACE_BASH= brushes/label-brush-mypaint.sh
+SCONS_ARGS+= enable_profiling=False \
+ enable_openmp=False \
+ prefix=${DESTDIR}${PREFIX}
+
do-build:
${LN} -sf ${PREFIX}/bin/swig2.0 \
${BUILDLINK_DIR}/bin/swig
cd ${WRKSRC} && cd ${BUILD_DIRS} && \
${SETENV} ${MAKE_ENV} \
- ${LOCALBASE}/bin/scons \
- prefix=${DESTDIR}${PREFIX} \
- enable_profiling=False
+ ${SCONSBIN} ${SCONS_ARGS}
do-install:
cd ${WRKSRC} && cd ${INSTALL_DIRS} && \
${SETENV} ${MAKE_ENV} \
- ${LOCALBASE}/bin/scons prefix=${DESTDIR}${PREFIX} install
+ ${SCONSBIN} ${SCONS_ARGS} install
.include "../../graphics/hicolor-icon-theme/buildlink3.mk"
.include "../../sysutils/desktop-file-utils/desktopdb.mk"
.include "../../devel/gettext-lib/buildlink3.mk"
+.include "../../devel/scons/buildlink3.mk"
.include "../../devel/swig2/buildlink3.mk"
.include "../../textproc/json-c/buildlink3.mk"
.include "../../graphics/lcms2/buildlink3.mk"