pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/graphics/gpick gpick: catch up with scons update; only...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/80fc19ae880b
branches:  trunk
changeset: 317226:80fc19ae880b
user:      tnn <tnn%pkgsrc.org@localhost>
date:      Wed Jan 02 18:40:23 2019 +0000

description:
gpick: catch up with scons update; only supports python-2.7 for now

diffstat:

 graphics/gpick/Makefile |  13 +++++++------
 1 files changed, 7 insertions(+), 6 deletions(-)

diffs (37 lines):

diff -r fb9db1f48493 -r 80fc19ae880b graphics/gpick/Makefile
--- a/graphics/gpick/Makefile   Wed Jan 02 18:29:14 2019 +0000
+++ b/graphics/gpick/Makefile   Wed Jan 02 18:40:23 2019 +0000
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.16 2018/12/13 19:51:59 adam Exp $
+# $NetBSD: Makefile,v 1.17 2019/01/02 18:40:23 tnn Exp $
 
 DISTNAME=      gpick-gpick-0.2.5
 PKGNAME=       ${DISTNAME:S/gpick-//}
@@ -12,21 +12,22 @@
 LICENSE=       modified-bsd
 
 USE_LANGUAGES= c c++03
-
-BUILD_DEPENDS+=        scons-[0-9]*:../../devel/scons
 USE_TOOLS+=    pkg-config
 
-SCONS=         ${PREFIX}/bin/scons
+PYTHON_VERSIONS_INCOMPATIBLE= 34 35 36 37      # as of 0.2.5
+
 SCONS_ARGS+=   DESTDIR=${DESTDIR}${PREFIX}
 SCONS_ARGS+=   PKGMANDIR=${PKGMANDIR}
 
 do-build:
-       cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${SCONS} ${SCONS_ARGS}
+       cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${SCONSBIN} ${SCONS_ARGS}
 
 do-install:
-       cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${SCONS} ${SCONS_ARGS} install
+       cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${SCONSBIN} ${SCONS_ARGS} install
 
 .include "../../devel/boost-libs/buildlink3.mk"
+PYTHON_FOR_BUILD_ONLY?=        yes
+.include "../../devel/scons/buildlink3.mk"
 .include "../../lang/lua/buildlink3.mk"
 .include "../../x11/gtk2/buildlink3.mk"
 .include "../../graphics/hicolor-icon-theme/buildlink3.mk"



Home | Main Index | Thread Index | Old Index